build: bugfix: ordinaltree<-randomgen dependency in cmake config

This commit is contained in:
Roland Conybeare 2023-10-22 16:18:45 -04:00
commit 5f9942cf03
2 changed files with 4 additions and 2 deletions

View file

@ -49,6 +49,7 @@ xo_export_cmake_config(${PROJECT_NAME} ${PROJECT_VERSION} ${PROJECT_NAME}Targets
# ----------------------------------------------------------------
# input dependencies
# NOTE: dependency set here must be kept consistent with ordinaltree/cmake/xo_ordinaltreeConfig.cmake.in
# xo-ordinaltree is also header-only
#
xo_headeronly_dependency(${SELF_LIB} randomgen)

View file

@ -1,5 +1,6 @@
@PACKAGE_INIT@
include(CMakeFindDependencyMacro)
find_dependency(randomgen)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
check_required_components("@PROJECT_NAME@")