summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.cmake.in
diff options
context:
space:
mode:
authorPeter Kuemmel <syntheticpp@gmx.net>2012-06-09 09:36:53 (GMT)
committerPeter Kuemmel <syntheticpp@gmx.net>2012-06-09 10:10:52 (GMT)
commit8b27a94f2879b3ea1c00e1e0e4bef7cc77fd2cb6 (patch)
tree764e49d19cb86500e26be1e37b7ba9a073b7bdef /Modules/CMakeCCompiler.cmake.in
parent64c5752d938457be411e3a9d781d4441e6634743 (diff)
downloadCMake-8b27a94f2879b3ea1c00e1e0e4bef7cc77fd2cb6.zip
CMake-8b27a94f2879b3ea1c00e1e0e4bef7cc77fd2cb6.tar.gz
CMake-8b27a94f2879b3ea1c00e1e0e4bef7cc77fd2cb6.tar.bz2
Ninja: don't set cmcldeps vars to empty string when they are not defined
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
-rw-r--r--Modules/CMakeCCompiler.cmake.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index 7a17e18..ded8cf6 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -49,7 +49,5 @@ SET(CMAKE_C_HAS_ISYSROOT "@CMAKE_C_HAS_ISYSROOT@")
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "@CMAKE_C_IMPLICIT_LINK_LIBRARIES@")
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "@CMAKE_C_IMPLICIT_LINK_DIRECTORIES@")
-IF(MSVC_CXX_ARCHITECTURE_ID)
- SET(CMAKE_CMCLDEPS_EXECUTABLE "@CMAKE_CMCLDEPS_EXECUTABLE@")
- SET(CMAKE_CL_SHOWINCLUDE_PREFIX "@CMAKE_CL_SHOWINCLUDE_PREFIX@")
-ENDIF()
+@SET_CMAKE_CMCLDEPS_EXECUTABLE@
+@SET_CMAKE_CL_SHOWINCLUDE_PREFIX@