adjust cmake

This commit is contained in:
Walter Julius Hennecke 2019-02-23 20:51:20 +01:00
parent 181fe41483
commit 11570b5291

View file

@ -40,5 +40,5 @@ target_link_libraries(${UI_LIB_NAME} ${UI_LINKER_OPTIONS})
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 "")
set_property(TARGET ${UI_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE OFF)
set_property(TARGET ${UI_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
target_compile_definitions(base_game PUBLIC -DUI_DLL)