Made libraries use position indepentent code (PIC)
This commit is contained in:
@@ -5,6 +5,13 @@ add_library(
|
|||||||
clargs.cpp
|
clargs.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_property(
|
||||||
|
TARGET
|
||||||
|
OxClArgs
|
||||||
|
PROPERTY
|
||||||
|
POSITION_INDEPENDENT_CODE ON
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
clargs.hpp
|
clargs.hpp
|
||||||
|
|||||||
@@ -5,6 +5,13 @@ add_library(
|
|||||||
filesystem.cpp
|
filesystem.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_property(
|
||||||
|
TARGET
|
||||||
|
OxFS
|
||||||
|
PROPERTY
|
||||||
|
POSITION_INDEPENDENT_CODE ON
|
||||||
|
)
|
||||||
|
|
||||||
if(OX_BUILD_EXEC STREQUAL "ON")
|
if(OX_BUILD_EXEC STREQUAL "ON")
|
||||||
add_executable(
|
add_executable(
|
||||||
oxfstool
|
oxfstool
|
||||||
|
|||||||
@@ -7,6 +7,13 @@ add_library(
|
|||||||
strops.cpp
|
strops.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_property(
|
||||||
|
TARGET
|
||||||
|
OxStd
|
||||||
|
PROPERTY
|
||||||
|
POSITION_INDEPENDENT_CODE ON
|
||||||
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
FILES
|
FILES
|
||||||
byteswap.hpp
|
byteswap.hpp
|
||||||
|
|||||||
Reference in New Issue
Block a user