diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-07 02:56:19 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-07 02:56:19 +0200 |
commit | 78cd1f4487528557bcebbbd6729c3f8a61d67b50 (patch) | |
tree | 5c4755f131292e65b5f0bbe51d742cbe7fc8d7fb /CMakeLists.txt | |
parent | 7f43ef4f91f961d14df62bec60bea3f7092c13b7 (diff) |
fix osx harder
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 052b5217..31dd8df4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,7 +147,7 @@ else() endif() endif() -if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") +if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT APPLE) add_compile_definitions($<$<COMPILE_LANGUAGE:CXX>:$<$<CONFIG:DEBUG,Debug>:_LIBCPP_ENABLE_ASSERTIONS>>) add_compile_options(-Wno-reserved-macro-identifier) add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-Wno-ambiguous-reversed-operator>) |