diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-26 16:42:48 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-26 16:42:48 (GMT) |
commit | 3dd66f96982057c4c05bb0d0c6e6f9f24613518c (patch) | |
tree | a30c91d257f223396b04081424eb2537a59c6c9a | |
parent | 73c7caa7745d773553968469495bd7749de3b07b (diff) | |
download | CMake-3dd66f96982057c4c05bb0d0c6e6f9f24613518c.zip CMake-3dd66f96982057c4c05bb0d0c6e6f9f24613518c.tar.gz CMake-3dd66f96982057c4c05bb0d0c6e6f9f24613518c.tar.bz2 |
correct c flags for shared links
-rw-r--r-- | Templates/CCMakeSystemConfig.cmake.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Templates/CCMakeSystemConfig.cmake.in b/Templates/CCMakeSystemConfig.cmake.in index 203e22d..3f388cd 100644 --- a/Templates/CCMakeSystemConfig.cmake.in +++ b/Templates/CCMakeSystemConfig.cmake.in @@ -111,12 +111,12 @@ SET (CMAKE_SIZEOF_DOUBLE @CMAKE_SIZEOF_DOUBLE@ CACHE INTERNAL "Size of doubl FIND_PROGRAM(CMAKE_MAKE_PROGRAM NAMES gmake make ) -IF(CMAKE_SYSTEM MATCHES "HP-UX.*")E +IF(CMAKE_SYSTEM MATCHES "HP-UX.*") SET (CMAKE_C_SHLIB_LINK_FLAGS "-Wl,+s" CACHE INTERNAL "shared link flags for cc") SET (CMAKE_C_SHLIB_RUNTIME_FLAG "-Wl,+b," CACHE INTERNAL "runtime directory flag for cc") ELSE(CMAKE_SYSTEM MATCHES "HP-UX.*") - SET (CMAKE_C_SHLIB_LINK_FLAGS ${CMAKE_SHLIB_LINK_FLAGS} CACHE INTERNAL "shared link flags for cc") - SET (CMAKE_C_SHLIB_RUNTIME_FLAG ${CMAKE_SHLIB_RUNTIME_FLAG} CACHE INTERNAL "runtime directory flag for cc") + SET (CMAKE_C_SHLIB_LINK_FLAGS "${CMAKE_SHLIB_LINK_FLAGS}" CACHE INTERNAL "shared link flags for cc") + SET (CMAKE_C_SHLIB_RUNTIME_FLAG "${CMAKE_SHLIB_RUNTIME_FLAG}" CACHE INTERNAL "runtime directory flag for cc") ENDIF(CMAKE_SYSTEM MATCHES "HP-UX.*") # The following variables are advanced |