mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
When testing CMAKE_<LANG>_COMPILER_ID values against "MSVC", do not allow the definition of the "MSVC" variable to be expanded.
7 lines
197 B
CMake
7 lines
197 B
CMake
include(Compiler/Clang)
|
|
__compiler_clang(CXX)
|
|
|
|
if(NOT "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC")
|
|
set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden")
|
|
endif()
|