mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Use the "-shared" option to link shared libraries. The compiler does not support "-Wl," or "-rpath" but does know how to pass "-soname" through to the linker.
5 lines
190 B
CMake
5 lines
190 B
CMake
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")
|
|
SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "")
|
|
SET(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "")
|
|
SET(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-soname ")
|