diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-06-15 16:39:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-06-15 16:39:12 (GMT) |
commit | 62a634aeba0104fa4e62f001bd53587486ed3732 (patch) | |
tree | 2d8413decb9e99bb9932bd256e7c6ea8a3ea98e5 /Modules/Platform/HP-UX.cmake | |
parent | 3dadbdf3fdb6172713990459b648deae44bfa161 (diff) | |
download | CMake-62a634aeba0104fa4e62f001bd53587486ed3732.zip CMake-62a634aeba0104fa4e62f001bd53587486ed3732.tar.gz CMake-62a634aeba0104fa4e62f001bd53587486ed3732.tar.bz2 |
ENH: add more search paths on HPUX
Diffstat (limited to 'Modules/Platform/HP-UX.cmake')
-rw-r--r-- | Modules/Platform/HP-UX.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/Platform/HP-UX.cmake b/Modules/Platform/HP-UX.cmake index 9191cef..41f721e 100644 --- a/Modules/Platform/HP-UX.cmake +++ b/Modules/Platform/HP-UX.cmake @@ -89,6 +89,11 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX) ENDIF(CMAKE_COMPILER_IS_GNUCXX) # set flags for gcc support INCLUDE(Platform/UnixPaths) +IF(CMAKE_SIZEOF_VOID_P EQUAL 4) + LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH /usr/lib/hpux32) +ELSE(CMAKE_SIZEOF_VOID_P EQUAL 4) + LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH /usr/lib/hpux64) +ENDIF(CMAKE_SIZEOF_VOID_P EQUAL 4) IF(NOT CMAKE_COMPILER_IS_GNUCC) SET (CMAKE_C_CREATE_PREPROCESSED_SOURCE "<CMAKE_C_COMPILER> <DEFINES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>") |