Made libraries use position indepentent code (PIC)

This commit is contained in:
2017-04-21 05:37:24 -05:00
parent 87c265e17b
commit 7bce077ea8
3 changed files with 21 additions and 0 deletions
+7
View File
@@ -5,6 +5,13 @@ add_library(
clargs.cpp
)
set_property(
TARGET
OxClArgs
PROPERTY
POSITION_INDEPENDENT_CODE ON
)
install(
FILES
clargs.hpp
+7
View File
@@ -5,6 +5,13 @@ add_library(
filesystem.cpp
)
set_property(
TARGET
OxFS
PROPERTY
POSITION_INDEPENDENT_CODE ON
)
if(OX_BUILD_EXEC STREQUAL "ON")
add_executable(
oxfstool
+7
View File
@@ -7,6 +7,13 @@ add_library(
strops.cpp
)
set_property(
TARGET
OxStd
PROPERTY
POSITION_INDEPENDENT_CODE ON
)
install(
FILES
byteswap.hpp