1 2 3 4
SET(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC) SET(CMAKE_C_COMPILE_OPTIONS_PIE "") SET(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC") INCLUDE(Platform/UnixPaths)