diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 17:31:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-11 17:31:46 (GMT) |
commit | d1051bb575b2f1e568ac9fe4599a0bf0eea66392 (patch) | |
tree | 5c16ebb0dc8c21698c38333eca4f5058492953c0 /Modules/Platform/HP-UX.cmake | |
parent | 5b9a880bfbf215159d6960f82f0e78c419c95f8e (diff) | |
download | CMake-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.cmake | 17 |
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) |