build: fix missing xo deps
This commit is contained in:
parent
fa0444daa1
commit
2868cefc53
2 changed files with 6 additions and 7 deletions
|
|
@ -4,10 +4,10 @@ include(CMakeFindDependencyMacro)
|
||||||
|
|
||||||
# note: changes to find_dependency() calls here
|
# note: changes to find_dependency() calls here
|
||||||
# must coordinate with xo_dependency() calls
|
# 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(reactor)
|
||||||
#find_dependency(callback)
|
find_dependency(webutil)
|
||||||
|
|
||||||
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
|
||||||
check_required_components("@PROJECT_NAME@")
|
check_required_components("@PROJECT_NAME@")
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,9 @@ xo_add_shared_library4(${SELF_LIB} ${PROJECT_NAME}Targets ${PROJECT_VERSION} 1 $
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
# external dependencies
|
# 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} reactor)
|
||||||
xo_dependency(${SELF_LIB} webutil)
|
xo_dependency(${SELF_LIB} webutil)
|
||||||
|
|
||||||
|
|
@ -15,7 +18,3 @@ xo_dependency(${SELF_LIB} webutil)
|
||||||
xo_external_target_dependency(${SELF_LIB} Libwebsockets websockets_shared)
|
xo_external_target_dependency(${SELF_LIB} Libwebsockets websockets_shared)
|
||||||
# see jsoncpp-namespaced-targets.cmake (maybe?) for available targets
|
# see jsoncpp-namespaced-targets.cmake (maybe?) for available targets
|
||||||
xo_external_target_dependency(${SELF_LIB} jsoncpp jsoncpp_lib)
|
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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue