From ae545aa1d6a3577f6b4a2fbf485335544f4b23f4 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Mon, 3 Jul 2023 11:18:14 -0700 Subject: [PATCH] add new linkage dependency on dfhack --- library/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 5d2698bb0..40006a432 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -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...")