From fcd759654cddcc03d136d002b3592be8a19d5d91 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Sun, 3 Oct 2021 17:41:07 +0200 Subject: [PATCH] Potential fix for MacOS ci --- core/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 17f8450d..f9657b6d 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -18,7 +18,8 @@ add_library(sdrpp_core SHARED ${SRC}) if (MSVC) target_compile_options(sdrpp_core PRIVATE /O2 /Ob2 /std:c++17 /EHsc) elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang") - target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup) + target_compile_options(sdrpp_core PRIVATE -O3 -Wno-unused-command-line-argument -undefined dynamic_lookup) + target_compile_options(sdrpp_core PRIVATE $<$:-std=c++17>) else () target_compile_options(sdrpp_core PRIVATE -O3 -std=c++17) endif ()