diff --git a/CMakeLists.txt b/CMakeLists.txt index d3489b2b..b8f9a4f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,7 @@ endif (OPT_BUILD_WEATHER_SAT_DECODER) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/airspy_source/CMakeLists.txt b/airspy_source/CMakeLists.txt index 16bc13ce..cea6586e 100644 --- a/airspy_source/CMakeLists.txt +++ b/airspy_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(airspy_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/airspyhf_source/CMakeLists.txt b/airspyhf_source/CMakeLists.txt index 41fae329..6d7f37a8 100644 --- a/airspyhf_source/CMakeLists.txt +++ b/airspyhf_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(airspyhf_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/audio_sink/CMakeLists.txt b/audio_sink/CMakeLists.txt index 0e86c46c..d877e89f 100644 --- a/audio_sink/CMakeLists.txt +++ b/audio_sink/CMakeLists.txt @@ -4,7 +4,7 @@ project(audio_sink) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/bladerf_source/CMakeLists.txt b/bladerf_source/CMakeLists.txt index 291cf44b..d6ecfd45 100644 --- a/bladerf_source/CMakeLists.txt +++ b/bladerf_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(bladerf_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index bcda96b3..c7d39ab8 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -6,7 +6,7 @@ if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/falcon9_decoder/CMakeLists.txt b/falcon9_decoder/CMakeLists.txt index e16f3ca8..e283d9f8 100644 --- a/falcon9_decoder/CMakeLists.txt +++ b/falcon9_decoder/CMakeLists.txt @@ -4,7 +4,7 @@ project(falcon9_decoder) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/file_source/CMakeLists.txt b/file_source/CMakeLists.txt index 32697ea4..1a05ebee 100644 --- a/file_source/CMakeLists.txt +++ b/file_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(file_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/hackrf_source/CMakeLists.txt b/hackrf_source/CMakeLists.txt index 54c1b654..8ef65a22 100644 --- a/hackrf_source/CMakeLists.txt +++ b/hackrf_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(hackrf_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/meteor_demodulator/CMakeLists.txt b/meteor_demodulator/CMakeLists.txt index 2e662ceb..71007a6a 100644 --- a/meteor_demodulator/CMakeLists.txt +++ b/meteor_demodulator/CMakeLists.txt @@ -4,7 +4,7 @@ project(meteor_demodulator) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/plutosdr_source/CMakeLists.txt b/plutosdr_source/CMakeLists.txt index 9a4cca2b..adc5ac8e 100644 --- a/plutosdr_source/CMakeLists.txt +++ b/plutosdr_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(plutosdr_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/radio/CMakeLists.txt b/radio/CMakeLists.txt index 590168c4..b05240c8 100644 --- a/radio/CMakeLists.txt +++ b/radio/CMakeLists.txt @@ -4,7 +4,7 @@ project(radio) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/recorder/CMakeLists.txt b/recorder/CMakeLists.txt index 98199e81..e3a32a47 100644 --- a/recorder/CMakeLists.txt +++ b/recorder/CMakeLists.txt @@ -4,7 +4,7 @@ project(recorder) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/rtl_sdr_source/CMakeLists.txt b/rtl_sdr_source/CMakeLists.txt index 762d7f54..b763b889 100644 --- a/rtl_sdr_source/CMakeLists.txt +++ b/rtl_sdr_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(rtl_sdr_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/rtl_tcp_source/CMakeLists.txt b/rtl_tcp_source/CMakeLists.txt index f158b1ce..bc231179 100644 --- a/rtl_tcp_source/CMakeLists.txt +++ b/rtl_tcp_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(rtl_tcp_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/rx888_source/CMakeLists.txt b/rx888_source/CMakeLists.txt index 3ef873e3..9cbc55cd 100644 --- a/rx888_source/CMakeLists.txt +++ b/rx888_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(rx888_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/sdrplay_source/CMakeLists.txt b/sdrplay_source/CMakeLists.txt index 8e79eec5..5d7e74b1 100644 --- a/sdrplay_source/CMakeLists.txt +++ b/sdrplay_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(sdrplay_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/soapy_source/CMakeLists.txt b/soapy_source/CMakeLists.txt index 5afddeb0..2e3a0519 100644 --- a/soapy_source/CMakeLists.txt +++ b/soapy_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(soapy_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/spyserver_source/CMakeLists.txt b/spyserver_source/CMakeLists.txt index d9fa5bd2..b1184df6 100644 --- a/spyserver_source/CMakeLists.txt +++ b/spyserver_source/CMakeLists.txt @@ -4,7 +4,7 @@ project(spyserver_source) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif () diff --git a/weather_sat_decoder/CMakeLists.txt b/weather_sat_decoder/CMakeLists.txt index 4e7626d5..8e0a6c37 100644 --- a/weather_sat_decoder/CMakeLists.txt +++ b/weather_sat_decoder/CMakeLists.txt @@ -4,7 +4,7 @@ project(weather_sat_decoder) if (MSVC) set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc") elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wnounused-command-line-argument -undefined dynamic_lookup") + set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -undefined dynamic_lookup") else () set(CMAKE_CXX_FLAGS "-O3 -std=c++17") endif ()