From 228c7cea971b78158f54db966ea65548733c1944 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Tue, 17 Oct 2023 21:47:43 -0400 Subject: [PATCH] build: proper cmake deps for libwebsockets, jsoncpp --- src/websock/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/websock/CMakeLists.txt b/src/websock/CMakeLists.txt index e8aa7df2..88511c86 100644 --- a/src/websock/CMakeLists.txt +++ b/src/websock/CMakeLists.txt @@ -11,6 +11,11 @@ xo_add_shared_library3(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 $ xo_dependency(${SELF_LIB} reactor) xo_dependency(${SELF_LIB} webutil) +# see LibwebsocketsTargets-release.cmake for available targets +xo_external_target_dependency(${SELF_LIB} libwebsockets websockets_shared) +# see jsoncpp-namespaced-targets.cmake (maybe?) for available targets +xo_external_target_dependency(${SELF_LIB} jsoncpp jsoncpp_lib) + # note: changes to xo_dependency() calls here # must coordinate with find_dependency() calls in # xo-websock/cmake/websockConfig.cmake.in