summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Clang-CXX.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-20 13:57:17 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-11-20 13:57:17 (GMT)
commit3a20cef3d71ab55c77aa85b05217e13afabb35b4 (patch)
tree640898396dbf6f63fd6bdb5bab90a0e1830904fe /Modules/Compiler/Clang-CXX.cmake
parent3749ad49e3251dad7b392317a50ef3b1194ee63b (diff)
parentfa1a066af1a7c7e0db5661e69fc576ea28a08e91 (diff)
downloadCMake-3a20cef3d71ab55c77aa85b05217e13afabb35b4.zip
CMake-3a20cef3d71ab55c77aa85b05217e13afabb35b4.tar.gz
CMake-3a20cef3d71ab55c77aa85b05217e13afabb35b4.tar.bz2
Merge topic 'fix-CMP0054-MSVC'
fa1a066a Merge branch 'backport-fix-CMP0054-MSVC' into fix-CMP0054-MSVC 4d52cd36 Avoid if() quoted auto-dereference when checking for "MSVC" 543c4304 Avoid if() quoted auto-dereference when checking for "MSVC"
Diffstat (limited to 'Modules/Compiler/Clang-CXX.cmake')
-rw-r--r--Modules/Compiler/Clang-CXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-CXX.cmake b/Modules/Compiler/Clang-CXX.cmake
index 780a072..6fe0b56 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()