From 0f89043568c24edb91cd82b6a3d54f043f895cc7 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 14 Mar 2003 12:00:50 -0500 Subject: [PATCH] force c++ for c++ files --- Modules/Platform/Windows-cl.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index 24a22b851..6ea93228e 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_START_TEMP_FILE} /nologo -DWIN32 /Fo -c ${CMAKE_END_TEMP_FILE}") + " ${CMAKE_START_TEMP_FILE} /nologo /TP -DWIN32 /Fo -c ${CMAKE_END_TEMP_FILE}") # compile a C file into an object file SET(CMAKE_C_COMPILE_OBJECT