mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-26 18:56:06 +02:00
Attempted cmake cleanup
This commit is contained in:
CMakeLists.txt
core
decoder_modules
falcon9_decoder
kg_sstv_decoder
m17_decoder
meteor_demodulator
radio
weather_sat_decoder
misc_modules
demo_module
discord_integration
frequency_manager
recorder
rigctl_server
scanner
scheduler
sink_modules
audio_sink
network_sink
new_portaudio_sink
portaudio_sink
source_modules
airspy_source
airspyhf_source
bladerf_source
file_source
hackrf_source
limesdr_source
plutosdr_source
rfspace_source
rtl_sdr_source
rtl_tcp_source
sddc_source
sdrplay_source
sdrpp_server_source
soapy_source
spyserver_source
@ -9,14 +9,6 @@ set_target_properties(rtl_tcp_source PROPERTIES PREFIX "")
|
||||
|
||||
target_include_directories(rtl_tcp_source PRIVATE "src/")
|
||||
|
||||
if (MSVC)
|
||||
target_compile_options(rtl_tcp_source PRIVATE /O2 /Ob2 /std:c++17 /EHsc)
|
||||
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
target_compile_options(rtl_tcp_source PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup)
|
||||
else ()
|
||||
target_compile_options(rtl_tcp_source PRIVATE -O3 -std=c++17)
|
||||
endif ()
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(rtl_tcp_source PRIVATE wsock32 ws2_32)
|
||||
endif()
|
||||
|
Reference in New Issue
Block a user