summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/HP-UX.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-14 15:44:12 (GMT)
commitc3530dd01f4e44af3e6218d51533f9d10ea3ae53 (patch)
treedc21f1ac5db3571a667d0d4a150c64c9facde3d0 /Modules/Platform/HP-UX.cmake
parenta293f8f7a0ee9d26b3a3ac50fe2f6555dc130a17 (diff)
downloadCMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.zip
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.gz
CMake-c3530dd01f4e44af3e6218d51533f9d10ea3ae53.tar.bz2
BUG: fix for bug 383 gcc flags are now always set if the compiler is gnu
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r--Modules/Platform/HP-UX.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake
index b4e7506..b1445d3 100644
--- a/Modules/Platform/HP-UX.cmake
+++ b/Modules/Platform/HP-UX.cmake
@@ -26,7 +26,6 @@ ENDIF(CMAKE_COMPILER_IS_GNUCC)
# CXX compiler
IF(CMAKE_COMPILER_IS_GNUCXX)
- INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)
# for gnu C++
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC") # -pic
SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -Wl,-E -Wl,-b") # -shared
@@ -47,3 +46,5 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX)
SET (CMAKE_C_FLAGS_INIT "")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
+# set flags for gcc support
+INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)