mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
fix usage of object libraries
This commit is contained in:
parent
1606eec96e
commit
125c8f7a56
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@ set(GAME_LIB_NAME "qagame${ARCH}")
|
||||||
file(GLOB_RECURSE GAME_SRC "*.h" "*.c" "*.cpp")
|
file(GLOB_RECURSE GAME_SRC "*.h" "*.c" "*.cpp")
|
||||||
|
|
||||||
|
|
||||||
add_library(${GAME_LIB_NAME} SHARED ${GAME_SRC})
|
add_library(${GAME_LIB_NAME} SHARED ${GAME_SRC} $<TARGET_OBJECTS:base_game>)
|
||||||
target_link_libraries(${GAME_LIB_NAME} base_game)
|
target_link_libraries(${GAME_LIB_NAME})
|
||||||
target_include_directories(${GAME_LIB_NAME} PUBLIC ../lua/include ../json/include)
|
target_include_directories(${GAME_LIB_NAME} PUBLIC ../lua/include ../json/include)
|
||||||
target_compile_options(${GAME_LIB_NAME} PUBLIC -fpermissive)
|
target_compile_options(${GAME_LIB_NAME} PUBLIC -fpermissive)
|
||||||
set_target_properties(${GAME_LIB_NAME} PROPERTIES PREFIX "")
|
set_target_properties(${GAME_LIB_NAME} PROPERTIES PREFIX "")
|
||||||
|
|
Loading…
Reference in a new issue