diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-10 15:02:52 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-10 15:02:52 (GMT) |
commit | 538f38596fbd788248aafbf94bcee12897e21277 (patch) | |
tree | a6bc193177850bff4019bcc17e3b10b48fa75367 /Modules/Platform/HP-UX.cmake | |
parent | ac481e0ee96554945bca25bde70e3d2e43d0c73b (diff) | |
download | CMake-538f38596fbd788248aafbf94bcee12897e21277.zip CMake-538f38596fbd788248aafbf94bcee12897e21277.tar.gz CMake-538f38596fbd788248aafbf94bcee12897e21277.tar.bz2 |
BUG: fix setting of c flags
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r-- | Modules/Platform/HP-UX.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake index 14f22b3..24f9441 100644 --- a/Modules/Platform/HP-UX.cmake +++ b/Modules/Platform/HP-UX.cmake @@ -47,6 +47,8 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX) SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O3") SET (CMAKE_CXX_FLAGS_RELEASE "-O2") SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g") - SET (CMAKE_C_FLAGS "") ENDIF(NOT CMAKE_CXX_FLAGS) + IF(NOT CMAKE_C_FLAGS) + SET (CMAKE_C_FLAGS "") + ENDIF(NOT CMAKE_C_FLAGS) ENDIF(CMAKE_COMPILER_IS_GNUCXX) |