From 1d1ecd99051d4abb1b6121202964d8862af467e0 Mon Sep 17 00:00:00 2001 From: Mark Stemm Date: Mon, 7 Oct 2019 13:51:02 -0700 Subject: [PATCH] Add explicit catch2 dependency for tests When I try to build the dev branch using the docker builder, the tests target isn't properly checking out and building catch2 for the dependency catch2.hpp. Adding this explicit dependency allowed the build to succeed. Signed-off-by: Mark Stemm --- tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f058614d..c32674a4 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -41,6 +41,7 @@ if(FALCO_BUILD_TESTS) "${YAMLCPP_INCLUDE_DIR}" "${CIVETWEB_INCLUDE_DIR}" "${PROJECT_SOURCE_DIR}/userspace/falco") + add_dependencies(falco_test catch2) include(CMakeParseArguments) include(CTest)