From 4d0e708ea4cea2853471f0e20b216680ef813430 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Thu, 8 May 2025 23:54:24 -0500 Subject: [PATCH] xo-pyunit: fix missing cmake deps --- cmake/xo_pyunitConfig.cmake.in | 7 +++++++ src/pyunit/CMakeLists.txt | 3 +++ 2 files changed, 10 insertions(+) diff --git a/cmake/xo_pyunitConfig.cmake.in b/cmake/xo_pyunitConfig.cmake.in index 9c15f36a..18187c96 100644 --- a/cmake/xo_pyunitConfig.cmake.in +++ b/cmake/xo_pyunitConfig.cmake.in @@ -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@") diff --git a/src/pyunit/CMakeLists.txt b/src/pyunit/CMakeLists.txt index 9ef0a302..393a1387 100644 --- a/src/pyunit/CMakeLists.txt +++ b/src/pyunit/CMakeLists.txt @@ -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