1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-07-09 21:03:22 -04:00
Files
sdrangel/modemmeshcore
Tom Hensel 3036bbdccc fix: guard GCC-specific COMPILE_FLAGS in modemmeshcore with if (NOT MSVC)
The Monocypher vendored C files use -Wno-unused-function / -Wno-unused-parameter
compile flags that are GCC/Clang-only syntax. MSVC chokes on them with:

  cl : Command line error D8021 : invalid numeric argument '/Wno-unused-function'

Wrap the set_source_files_properties call in if (NOT MSVC) so the flags
are applied on macOS/Linux but skipped on Windows. The swagger CMakeLists.txt
uses the same pattern.
2026-07-04 13:17:44 +02:00
..