xo-pyunit: fix missing cmake deps

This commit is contained in:
Roland Conybeare 2025-05-08 23:54:24 -05:00
commit 4d0e708ea4
2 changed files with 10 additions and 0 deletions

View file

@ -1,4 +1,11 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(xo_pyutil)
find_dependency(xo_unit)
find_dependency(refcnt)
find_dependency(indentlog)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")

View file

@ -6,6 +6,9 @@ set(SELF_SRCS pyunit.cpp)
# ----------------------------------------------------------------
xo_pybind11_library(${SELF_LIB} ${PROJECT_NAME}Targets ${SELF_SRCS})
xo_pybind11_dependency(${SELF_LIB} xo_pyutil)
xo_pybind11_dependency(${SELF_LIB} xo_unit)
xo_pybind11_dependency(${SELF_LIB} refcnt)
xo_pybind11_dependency(${SELF_LIB} indentlog)
# CMakeLists.txt