diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-15 19:19:32 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-01-15 19:19:32 (GMT) |
commit | c598da4328d51a3b287d7fd42dc8b0a44ee9d85f (patch) | |
tree | 514165b265da0a484b6775ee5eba8daf86e67664 | |
parent | a7e1031efed8f95b58dc25e92bd5c977063da31e (diff) | |
download | CMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.zip CMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.tar.gz CMake-c598da4328d51a3b287d7fd42dc8b0a44ee9d85f.tar.bz2 |
BUG: fix for bug 6231, bad regex for sunos, worked by chance, but better to have it right
-rw-r--r-- | Modules/Platform/SunOS.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index aa1e933..85e3d38 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -7,7 +7,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-4.*") SET(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-h") ENDIF(CMAKE_SYSTEM MATCHES "SunOS-4.*") -IF(CMAKE_SYSTEM MATCHES "SunOS-5*.") +IF(CMAKE_SYSTEM MATCHES "SunOS-5.*") SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-KPIC") SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-G") SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-R") @@ -44,7 +44,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-5*.") SET (CMAKE_CXX_FLAGS_RELEASE_INIT "-xO2 -DNDEBUG") SET (CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT "-xO2") ENDIF(CMAKE_COMPILER_IS_GNUCXX) -ENDIF(CMAKE_SYSTEM MATCHES "SunOS-5*.") +ENDIF(CMAKE_SYSTEM MATCHES "SunOS-5.*") IF(CMAKE_COMPILER_IS_GNUCXX) IF(CMAKE_COMPILER_IS_GNUCC) |