diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-23 20:15:21 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-23 20:15:21 (GMT) |
commit | dc4a6f63b0452968dc564be46909ed228bbc141c (patch) | |
tree | 94b300c3cbef032bb771cfaebb8fcf607a7bf755 /Modules | |
parent | 4eb0400c9807bd984a9983dc993dbd47275b4d65 (diff) | |
download | CMake-dc4a6f63b0452968dc564be46909ed228bbc141c.zip CMake-dc4a6f63b0452968dc564be46909ed228bbc141c.tar.gz CMake-dc4a6f63b0452968dc564be46909ed228bbc141c.tar.bz2 |
C++ compiler is not set for c only projects
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/Windows-cl.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index 74c705f..d047aba 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -75,7 +75,7 @@ ENDIF(CMAKE_GENERATOR MATCHES "Visual Studio 7") # does the compiler support pdbtype SET(CMAKE_COMPILER_SUPPORTS_PDBTYPE 1) IF(CMAKE_GENERATOR MATCHES "NMake Makefiles") - EXEC_PROGRAM(${CMAKE_CXX_COMPILER} + EXEC_PROGRAM(${CMAKE_C_COMPILER} ARGS /nologo -EP \"${CMAKE_ROOT}/Modules/CMakeTestNMakeCLVersion.c\" OUTPUT_VARIABLE CMAKE_COMPILER_OUTPUT RETURN_VALUE CMAKE_COMPILER_RETURN |