build: bugfix: missing headeronly deps break submodule build
This commit is contained in:
parent
699ee5d38e
commit
809f2df37d
2 changed files with 5 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ if (ENABLE_TESTING)
|
|||
|
||||
xo_self_headeronly_dependency(${SELF_EXE} xo_ratio)
|
||||
xo_dependency(${SELF_EXE} reflect)
|
||||
# need explicit header-only dependencies, at least in submodule build
|
||||
xo_dependency(${SELF_EXE} xo_reflectutil)
|
||||
xo_dependency(${SELF_EXE} randomgen)
|
||||
xo_dependency(${SELF_EXE} indentlog)
|
||||
xo_external_target_dependency(${SELF_EXE} Catch2 Catch2::Catch2)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@ if (ENABLE_TESTING)
|
|||
|
||||
xo_self_dependency(${SELF_EXE} xo_unit)
|
||||
xo_headeronly_dependency(${SELF_EXE} xo_ratio)
|
||||
# at least need explicit {indentlog, randomgen} deps in a submodule build
|
||||
xo_headeronly_dependency(${SELF_EXE} indentlog)
|
||||
xo_headeronly_dependency(${SELF_EXE} randomgen)
|
||||
xo_external_target_dependency(${SELF_EXE} Catch2 Catch2::Catch2)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue