CMake/Modules/Platform/UNIX_SV.cmake

4 lines
169 B
CMake

SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
SET(CMAKE_SHARED_LIBRARY_LINK_FLAGS "-Wl,-Bexport")
# include the gcc flags
INCLUDE(${CMAKE_ROOT}/Modules/Platform/gcc.cmake)