diff --git a/cmake/config.cmake b/cmake/config.cmake index 510a8774..00cb12af 100644 --- a/cmake/config.cmake +++ b/cmake/config.cmake @@ -24,7 +24,7 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") - add_compile_options(-fexperimental-library) + add_compile_options($<$:-fexperimental-library>) endif() endif()