From 78cd1f4487528557bcebbbd6729c3f8a61d67b50 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 7 Oct 2023 02:56:19 +0200 Subject: fix osx harder --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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($<$:$<$:_LIBCPP_ENABLE_ASSERTIONS>>) add_compile_options(-Wno-reserved-macro-identifier) add_compile_options($<$:-Wno-ambiguous-reversed-operator>) -- cgit v1.2.3