summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-04-19 19:29:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-04-19 19:29:19 (GMT)
commitf2e2f23392816ba826ebdd0e91851fc0e1aeaed1 (patch)
tree676fa530644762e385867a2fabb9996a9dda35b9 /Modules/Platform
parent0a8ff83b668fd0415015ac687999eab02556f0e5 (diff)
downloadCMake-f2e2f23392816ba826ebdd0e91851fc0e1aeaed1.zip
CMake-f2e2f23392816ba826ebdd0e91851fc0e1aeaed1.tar.gz
CMake-f2e2f23392816ba826ebdd0e91851fc0e1aeaed1.tar.bz2
ENH: unix makefiles should work with cl
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-cl.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index 9bb8bdd..13c1aee 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -78,7 +78,7 @@ SET(CMAKE_COMPILE_RESOURCE "rc <FLAGS> /fo<OBJECT> <SOURCE>")
# that is automatically copied into try_compile directories
# by the global generator.
SET(MSVC_IDE 1)
-IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
+IF(CMAKE_GENERATOR MATCHES "Makefiles")
SET(MSVC_IDE 0)
IF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
SET(CMAKE_VC_COMPILER_TESTS 1)
@@ -183,7 +183,7 @@ IF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
SET(CMAKE_CL_64 0)
ENDIF(CMAKE_COMPILER_RETURN)
ENDIF(NOT CMAKE_VC_COMPILER_TESTS_RUN)
-ENDIF(CMAKE_GENERATOR MATCHES "NMake Makefiles")
+ENDIF(CMAKE_GENERATOR MATCHES "Makefiles")
IF(CMAKE_FORCE_WIN64)
SET(CMAKE_CL_64 1)