diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-27 01:43:27 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-27 01:43:27 (GMT) |
commit | c9eaf38653dddaf31f082cdac4fe166a7f5fb96a (patch) | |
tree | 8be9c90b015b552c2559b1d6e373e6e7035e97aa /Modules/Platform/SunOS.cmake | |
parent | 419df21c06a39cbfb20db2460888f86964789618 (diff) | |
download | CMake-c9eaf38653dddaf31f082cdac4fe166a7f5fb96a.zip CMake-c9eaf38653dddaf31f082cdac4fe166a7f5fb96a.tar.gz CMake-c9eaf38653dddaf31f082cdac4fe166a7f5fb96a.tar.bz2 |
hack to try and fix sun platform
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index c8b4a38..5e81314 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -42,7 +42,9 @@ IF(CMAKE_COMPILER_IS_GNUCXX) # Take default rule from CMakeDefaultMakeRuleVariables.cmake. ENDIF(CMAKE_COMPILER_IS_GNUCC) ELSE(CMAKE_COMPILER_IS_GNUCXX) - SET(CMAKE_CXX_CREATE_STATIC_LIBRARY + IF(CMAKE_CXX_COMPILER) + SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "<CMAKE_CXX_COMPILER> -xar -o <TARGET> <OBJECTS> " "<CMAKE_RANLIB> <TARGET> ") + ENDIF(CMAKE_CXX_COMPILER) ENDIF(CMAKE_COMPILER_IS_GNUCXX) |