diff options
author | Brad King <brad.king@kitware.com> | 2015-07-31 13:21:43 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-31 13:21:43 (GMT) |
commit | 6e11703c6c9526724040f72c48e2f18616290080 (patch) | |
tree | 47b4c9489260ef68244b8d2ecb36f28348c7f049 /Modules | |
parent | e91f096e1beba3c3d6f71e5c7cbc337c9d9d7282 (diff) | |
parent | 60fe4b540b40330e050dbd755204cecbc62d6a37 (diff) | |
download | CMake-6e11703c6c9526724040f72c48e2f18616290080.zip CMake-6e11703c6c9526724040f72c48e2f18616290080.tar.gz CMake-6e11703c6c9526724040f72c48e2f18616290080.tar.bz2 |
Merge topic 'SunOS-link-CXX-normally'
60fe4b54 SunOS: Drop special case for linking C++ shared libraries with gcc (#15673)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Platform/SunOS.cmake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Modules/Platform/SunOS.cmake b/Modules/Platform/SunOS.cmake index aaa79c4..77946f2 100644 --- a/Modules/Platform/SunOS.cmake +++ b/Modules/Platform/SunOS.cmake @@ -7,14 +7,6 @@ if(CMAKE_SYSTEM MATCHES "SunOS-4") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") endif() -if(CMAKE_COMPILER_IS_GNUCXX) - if(CMAKE_COMPILER_IS_GNUCC) - set(CMAKE_CXX_CREATE_SHARED_LIBRARY - "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> <SONAME_FLAG><TARGET_SONAME> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>") - else() - # Take default rule from CMakeDefaultMakeRuleVariables.cmake. - endif() -endif() include(Platform/UnixPaths) # Add the compiler's implicit link directories. |