--- cmake/mainSetup.cmake.orig 2023-05-08 16:01:13 UTC +++ cmake/mainSetup.cmake @@ -17,7 +17,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) -if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") +if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") set(CMAKE_CXX_VISIBILITY_PRESET hidden) set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) endif()