summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-11-11 17:31:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-11-11 17:31:46 (GMT)
commitd1051bb575b2f1e568ac9fe4599a0bf0eea66392 (patch)
tree5c16ebb0dc8c21698c38333eca4f5058492953c0 /Modules/Platform/HP-UX.cmake
parent5b9a880bfbf215159d6960f82f0e78c419c95f8e (diff)
downloadCMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.zip
CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.gz
CMake-d1051bb575b2f1e568ac9fe4599a0bf0eea66392.tar.bz2
clean up flags with _init flags
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r--Modules/Platform/HP-UX.cmake17
1 files changed, 7 insertions, 10 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index 24f9441..6af9a1c 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -41,14 +41,11 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,+b") # -rpath
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC") # -pic
- IF(NOT CMAKE_CXX_FLAGS)
- SET (CMAKE_CXX_FLAGS "")
- SET (CMAKE_CXX_FLAGS_DEBUG "-g")
- SET (CMAKE_CXX_FLAGS_MINSIZEREL "-O3")
- SET (CMAKE_CXX_FLAGS_RELEASE "-O2")
- SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO "-g")
- ENDIF(NOT CMAKE_CXX_FLAGS)
- IF(NOT CMAKE_C_FLAGS)
- SET (CMAKE_C_FLAGS "")
- ENDIF(NOT CMAKE_C_FLAGS)
+ SET (CMAKE_CXX_FLAGS_INIT "")
+ SET (CMAKE_CXX_FLAGS_DEBUG_INIT "-g")
+ SET (CMAKE_CXX_FLAGS_MINSIZEREL_INIT "-O3")
+ SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-O2")
+ SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-g")
+ SET (CMAKE_C_FLAGS_INIT "")
+
ENDIF(CMAKE_COMPILER_IS_GNUCXX)