59b5fdd37c
The Clang-CXX module is going to get version-specific checks, and the version system for AppleClang is not the same as Clang.
7 lines
190 B
CMake
7 lines
190 B
CMake
include(Compiler/Clang)
|
|
__compiler_clang(CXX)
|
|
|
|
if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
|
|
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
|
|
endif()
|