build: bugfix: ordinaltree<-randomgen dependency in cmake config
This commit is contained in:
parent
ff0c4f2019
commit
5f9942cf03
2 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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@")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue