diff options
author | Brad King <brad.king@kitware.com> | 2014-11-20 13:53:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-20 13:53:47 (GMT) |
commit | b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689 (patch) | |
tree | c437300065207b7f753a0d05f7c9a3bc1522a611 /Modules/Compiler/Clang-CXX.cmake | |
parent | 5ee198d76e1b33a596d6bca18bbed5ec363ca322 (diff) | |
parent | 543c4304bb48149ed2f642f88070829a30266ec0 (diff) | |
download | CMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.zip CMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.tar.gz CMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.tar.bz2 |
Merge branch 'backport-fix-CMP0054-MSVC' into release
Diffstat (limited to 'Modules/Compiler/Clang-CXX.cmake')
-rw-r--r-- | Modules/Compiler/Clang-CXX.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake index 5dd7b4a..9ef1413 100644 --- a/Modules/Compiler/Clang-CXX.cmake +++ b/Modules/Compiler/Clang-CXX.cmake @@ -1,7 +1,7 @@ include(Compiler/Clang) __compiler_clang(CXX) -if(NOT CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC") +if(NOT "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC") set(CMAKE_CXX_COMPILE_OPTIONS_VISIBILITY_INLINES_HIDDEN "-fvisibility-inlines-hidden") endif() |