mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-08 19:41:33 +03:00
cmake: Always build position independent code
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
parent
096d966e43
commit
f09ca85ebf
@ -16,3 +16,6 @@ set(CMAKE_COLOR_MAKEFILE ON)
|
||||
|
||||
# Create the compile command database for clang by default
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# Always build with -fPIC
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
|
Loading…
x
Reference in New Issue
Block a user