cmake/Modules/Compiler/Clang-CXX.cmake
2014-08-03 19:52:23 +02:00

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()