enable position independent code for wkt and json
This commit is contained in:
parent
14f4362bb5
commit
953796645f
2 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,8 @@ add_library(json STATIC
|
|||
)
|
||||
add_library(mapnik::json ALIAS json)
|
||||
|
||||
set_property(TARGET json PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
target_include_directories(json PRIVATE
|
||||
${JPEG_INCLUDE_DIR}
|
||||
${LIBXML2_INCLUDE_DIR}
|
||||
|
|
|
@ -9,6 +9,8 @@ add_library(wkt STATIC
|
|||
)
|
||||
add_library(mapnik::wkt ALIAS wkt)
|
||||
|
||||
set_property(TARGET wkt PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
target_include_directories(wkt PRIVATE
|
||||
${MAPNIK_INCLUDE_PATH}
|
||||
${JPEG_INCLUDE_DIR}
|
||||
|
|
Loading…
Reference in a new issue