summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/SunOS.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-01-02 13:52:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-01-02 13:52:39 (GMT)
commitbdaf74b5613c1cf6d01840a66acd8bfb21f19c97 (patch)
tree8fb6852eae0161a848988d5579ca67c480ccf035 /Modules/Platform/SunOS.cmake
parent7773f9ed2274b14c02e88070461cf40ace905751 (diff)
downloadCMake-bdaf74b5613c1cf6d01840a66acd8bfb21f19c97.zip
CMake-bdaf74b5613c1cf6d01840a66acd8bfb21f19c97.tar.gz
CMake-bdaf74b5613c1cf6d01840a66acd8bfb21f19c97.tar.bz2
clean up some c/cxx issues
Diffstat (limited to 'Modules/Platform/SunOS.cmake')
-rw-r--r--Modules/Platform/SunOS.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake
index 1f91cf6..16e68c0 100644
--- a/Modules/Platform/SunOS.cmake
+++ b/Modules/Platform/SunOS.cmake
@@ -15,7 +15,7 @@ IF(CMAKE_SYSTEM MATCHES "SunOS-5*.")
SET(CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS "-shared -nostdlib")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG "-Wl,-R,")
SET(CMAKE_SHARED_LIBRARY_RUNTIME_FLAG_SEP ":")
- ENDIF(CMAKE_COMPILER_IS_GNUCXX)
+ ENDIF(CMAKE_COMPILER_IS_GNUCC)
IF(CMAKE_COMPILER_IS_GNUCXX)
SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "-fPIC")
SET(CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS "-shared -nostdlib")