xo-pyunit: fix missing cmake deps
This commit is contained in:
parent
c9cea234bc
commit
4d0e708ea4
2 changed files with 10 additions and 0 deletions
|
|
@ -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@")
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue