don't include rc file on platforms other than windows

pull/1338/head
AlexandreRouma 2024-02-13 16:18:25 +01:00
rodzic edc08ddc08
commit 9ab3c97c44
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -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