summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.cmake.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-01-17 20:20:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-01-17 20:20:41 (GMT)
commite7bc462755b72af9ecf8869a295619bc36108a67 (patch)
tree346d9d1a3940df246e099071ef0d0206f09cf062 /Modules/CMakeCCompiler.cmake.in
parent64f4880cb56887935c7490c0a225dc7182b832c5 (diff)
downloadCMake-e7bc462755b72af9ecf8869a295619bc36108a67.zip
CMake-e7bc462755b72af9ecf8869a295619bc36108a67.tar.gz
CMake-e7bc462755b72af9ecf8869a295619bc36108a67.tar.bz2
BUG: fix running of cl in trycompiles
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
-rw-r--r--Modules/CMakeCCompiler.cmake.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Modules/CMakeCCompiler.cmake.in b/Modules/CMakeCCompiler.cmake.in
index 9ce0962..1ed00bf 100644
--- a/Modules/CMakeCCompiler.cmake.in
+++ b/Modules/CMakeCCompiler.cmake.in
@@ -10,6 +10,12 @@ IF(CMAKE_COMPILER_IS_CYGWIN)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
+SET(CMAKE_VC_COMPILER_TESTS_RUN 1)
+SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE @CMAKE_COMPILER_SUPPORTS_PDBTYPE@)
+SET(CMAKE_COMPILER_2005 @CMAKE_COMPILER_2005@)
+SET(CMAKE_USING_VC_FREE_TOOLS @CMAKE_USING_VC_FREE_TOOLS@)
+
+
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)