mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
adjust cmake concering -fPic
This commit is contained in:
parent
1d7f1ff271
commit
fc6557c682
2 changed files with 3 additions and 2 deletions
|
@ -32,3 +32,4 @@ target_link_libraries(${GAME_LIB_NAME})
|
|||
target_include_directories(${GAME_LIB_NAME} PUBLIC ../lua/include ../json/include)
|
||||
target_compile_options(${GAME_LIB_NAME} PUBLIC -fpermissive)
|
||||
set_target_properties(${GAME_LIB_NAME} PROPERTIES PREFIX "")
|
||||
set_property(TARGET ${GAME_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
|
|
@ -32,5 +32,5 @@ target_link_libraries(${UI_LIB_NAME} -static -lstdc++fs)
|
|||
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)
|
||||
target_compile_definitions(base_game PUBLIC -DUI_DLL)
|
||||
set_property(TARGET ${UI_LIB_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
Loading…
Reference in a new issue