don't include rc file on platforms other than windows

This commit is contained in:
AlexandreRouma 2024-02-13 16:18:25 +01:00
parent edc08ddc08
commit 9ab3c97c44

View File

@ -287,7 +287,12 @@ if (OPT_BUILD_SCHEDULER)
add_subdirectory("misc_modules/scheduler")
endif (OPT_BUILD_SCHEDULER)
add_executable(sdrpp "src/main.cpp" "win32/resources.rc")
if (MSVC)
add_executable(sdrpp "src/main.cpp" "win32/resources.rc")
else ()
add_executable(sdrpp "src/main.cpp")
endif ()
target_link_libraries(sdrpp PRIVATE sdrpp_core)
# Compiler arguments