summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-bcc32.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-10 15:02:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-10 15:02:52 (GMT)
commit538f38596fbd788248aafbf94bcee12897e21277 (patch)
treea6bc193177850bff4019bcc17e3b10b48fa75367 /Modules/Platform/Windows-bcc32.cmake
parentac481e0ee96554945bca25bde70e3d2e43d0c73b (diff)
downloadCMake-538f38596fbd788248aafbf94bcee12897e21277.zip
CMake-538f38596fbd788248aafbf94bcee12897e21277.tar.gz
CMake-538f38596fbd788248aafbf94bcee12897e21277.tar.bz2
BUG: fix setting of c flags
Diffstat (limited to 'Modules/Platform/Windows-bcc32.cmake')
-rw-r--r--Modules/Platform/Windows-bcc32.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/Windows-bcc32.cmake b/Modules/Platform/Windows-bcc32.cmake
index aacbec5..4d1b19d 100644
--- a/Modules/Platform/Windows-bcc32.cmake
+++ b/Modules/Platform/Windows-bcc32.cmake
@@ -55,8 +55,10 @@ IF(NOT CMAKE_CXX_FLAGS)
SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O1")
SET (CMAKE_CXX_FLAGS_RELEASE "-O2")
SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Od")
- SET (CMAKE_C_FLAGS "-w- -whid -waus -tWM")
ENDIF(NOT CMAKE_CXX_FLAGS)
+IF(NOT CMAKE_C_FLAGS)
+ SET (CMAKE_C_FLAGS "-w- -whid -waus -tWM")
+ENDIF(NOT CMAKE_C_FLAGS)
SET (CMAKE_STANDARD_LIBRARIES "import32.lib" CACHE STRING