From 7a502836fec860f45e3e4b26c2f28a85ce94b22c Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 6 Jul 2025 14:31:52 -0500 Subject: [PATCH] build: bugfix: missing headeronly deps break submodule build --- utest/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utest/CMakeLists.txt b/utest/CMakeLists.txt index 2ca38d03..8ff21dcb 100644 --- a/utest/CMakeLists.txt +++ b/utest/CMakeLists.txt @@ -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()