build: fix missing xo deps

This commit is contained in:
Roland Conybeare 2023-10-24 13:19:16 -04:00
commit 2868cefc53
2 changed files with 6 additions and 7 deletions

View file

@ -4,10 +4,10 @@ include(CMakeFindDependencyMacro)
# note: changes to find_dependency() calls here
# must coordinate with xo_dependency() calls
# in xo-reactor/src/reactor/CMakeLists.txt
# in xo-websock/src/websock/CMakeLists.txt
#
#find_dependency(reflect)
#find_dependency(callback)
find_dependency(reactor)
find_dependency(webutil)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")

View file

@ -8,6 +8,9 @@ xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 $
# ----------------------------------------------------------------
# external dependencies
# note: changes to xo_dependency() calls here
# must coordinate with find_dependency() calls in
# xo-websock/cmake/websockConfig.cmake.in
xo_dependency(${SELF_LIB} reactor)
xo_dependency(${SELF_LIB} webutil)
@ -15,7 +18,3 @@ xo_dependency(${SELF_LIB} webutil)
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