diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-03-14 17:00:50 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-03-14 17:00:50 (GMT) |
commit | 0f89043568c24edb91cd82b6a3d54f043f895cc7 (patch) | |
tree | f75f528f547def5a7a838f84b53017ed9ffe59c5 /Modules | |
parent | 8f6b7e7bad630843514e9e8f6a7866ad55a2cea7 (diff) | |
download | CMake-0f89043568c24edb91cd82b6a3d54f043f895cc7.zip CMake-0f89043568c24edb91cd82b6a3d54f043f895cc7.tar.gz CMake-0f89043568c24edb91cd82b6a3d54f043f895cc7.tar.bz2 |
force c++ for c++ files
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 24a22b8..6ea9322 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -29,7 +29,7 @@ SET(CMAKE_C_CREATE_STATIC_LIBRARY ${CMAKE_CXX_CREATE_STATIC_LIBRARY}) # compile a C++ file into an object file SET(CMAKE_CXX_COMPILE_OBJECT - "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE} /nologo -DWIN32 /Fo<OBJECT> <FLAGS> -c <SOURCE>${CMAKE_END_TEMP_FILE}") + "<CMAKE_CXX_COMPILER> ${CMAKE_START_TEMP_FILE} /nologo /TP -DWIN32 /Fo<OBJECT> <FLAGS> -c <SOURCE>${CMAKE_END_TEMP_FILE}") # compile a C file into an object file SET(CMAKE_C_COMPILE_OBJECT |