adjust cmake concering -fPic

This commit is contained in:
Walter Julius Hennecke 2019-02-23 11:35:33 +01:00
parent fc6557c682
commit 9e82679115

View file

@ -33,4 +33,4 @@ target_compile_options(${UI_LIB_NAME} PUBLIC -Wno-narrowing -Wno-write-strings)
target_compile_definitions(${UI_LIB_NAME} PUBLIC -DUI_DLL)
set_target_properties(${UI_LIB_NAME} PROPERTIES PREFIX "")
target_compile_definitions(base_game PUBLIC -DUI_DLL)
set_property(TARGET ${UI_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET ${UI_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE OFF)