mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
c4b4d8b3a6
Fixes: #14983, #16561
7 lines
216 B
CMake
7 lines
216 B
CMake
set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
|
|
set(CMAKE_C_COMPILE_OPTIONS_PIE "")
|
|
set(CMAKE_C_LINK_OPTIONS_PIE "")
|
|
set(CMAKE_C_LINK_OPTIONS_NO_PIE "")
|
|
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
|
|
include(Platform/UnixPaths)
|