mirror of
https://github.com/reactos/CMake.git
synced 2024-12-05 02:06:34 +00:00
f255280fd9
Fixes: #18700
9 lines
318 B
CMake
9 lines
318 B
CMake
set(CMAKE_C_COMPILE_OPTIONS_PIC -K PIC)
|
|
set(CMAKE_C_COMPILE_OPTIONS_PIE "")
|
|
set(_CMAKE_C_PIE_MAY_BE_SUPPORTED_BY_LINKER NO)
|
|
set(CMAKE_C_LINK_OPTIONS_PIE "")
|
|
set(CMAKE_C_LINK_OPTIONS_NO_PIE "")
|
|
set(CMAKE_SHARED_LIBRARY_C_FLAGS "-K PIC")
|
|
set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "-Wl,-Bexport")
|
|
include(Platform/UnixPaths)
|