diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-26 18:33:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-26 18:33:31 +0200 |
commit | 4933abff981f39a69fb3032eecdf99d01cb666b2 (patch) | |
tree | 935e5d04bc17e8b1dea32c3261719b7000630f0d | |
parent | 05dee8a02773141cbe6cbfb1c0557018210ced05 (diff) |
cmake: fix build
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e87ec558..ae1aaec9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -151,7 +151,7 @@ else() endif() if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - add_definitions($<$<COMPILE_LANGUAGE:CXX>:$<$<CONFIG:DEBUG>:-D_LIBCPP_ENABLE_ASSERTIONS>>) + add_compile_definitions($<$<COMPILE_LANGUAGE:CXX>:$<$<CONFIG:DEBUG>:_LIBCPP_ENABLE_ASSERTIONS>>) add_compile_options(-Wno-reserved-macro-identifier) add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-ambiguous-reversed-operator>) endif() |