diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-09 18:43:16 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-11-09 18:43:16 (GMT) |
commit | ac481e0ee96554945bca25bde70e3d2e43d0c73b (patch) | |
tree | 7bd8777fbc295afff9a7b9f13de81f08ee058fe5 /Modules/Platform/HP-UX.cmake | |
parent | 1ccd1efe3e7c7147f25549ca90c4a58f9f153d6a (diff) | |
download | CMake-ac481e0ee96554945bca25bde70e3d2e43d0c73b.zip CMake-ac481e0ee96554945bca25bde70e3d2e43d0c73b.tar.gz CMake-ac481e0ee96554945bca25bde70e3d2e43d0c73b.tar.bz2 |
fix for cxxflags
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r-- | Modules/Platform/HP-UX.cmake | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake index ebc370a..14f22b3 100644 --- a/Modules/Platform/HP-UX.cmake +++ b/Modules/Platform/HP-UX.cmake @@ -41,11 +41,12 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX) SET(CMAKE_SHARED_LIBRARY_RUNTIME_CXX_FLAG "-Wl,+b") # -rpath SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC") # -pic - 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") - SET (CMAKE_C_FLAGS "") - + 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") + SET (CMAKE_C_FLAGS "") + ENDIF(NOT CMAKE_CXX_FLAGS) ENDIF(CMAKE_COMPILER_IS_GNUCXX) |