add new linkage dependency on dfhack

develop
Myk Taylor 2023-07-03 11:18:14 -07:00
parent 9ca96567a5
commit ae545aa1d6
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 2 additions and 2 deletions

@ -408,8 +408,8 @@ endif()
target_link_libraries(dfhack protobuf-lite clsocket lua jsoncpp_static dfhack-version ${PROJECT_LIBS})
set_target_properties(dfhack PROPERTIES INTERFACE_LINK_LIBRARIES "")
target_link_libraries(dfhack-client protobuf-lite clsocket jsoncpp_static)
target_link_libraries(dfhack-run dfhack-client)
target_link_libraries(dfhack-client protobuf-lite clsocket jsoncpp_static dfhack)
target_link_libraries(dfhack-run dfhack-client dfhack)
if(APPLE)
add_custom_command(TARGET dfhack-run COMMAND ${dfhack_SOURCE_DIR}/package/darwin/fix-libs.sh WORKING_DIRECTORY ../ COMMENT "Fixing library dependencies...")