From 12b7ff9940b9a4e561db7dacfa77cb5a3ae2788e Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Mon, 16 Nov 2020 16:21:34 +0100 Subject: [PATCH] build: BUILD_BYPRODUCTS for civetweb The BUILD_BYPRODUCTS for the civetweb target is needed so that when Falco is built using Ninja the falco target can have a reference to understand what target is building the civetweb lib and do the build automatically without having to do `ninja civetweb` first. Signed-off-by: Lorenzo Fontana --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a277582..e873e8e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -172,6 +172,7 @@ if(NOT MINIMAL_BUILD) COMMAND ${CMAKE_COMMAND} -E make_directory ${CIVETWEB_SRC}/install/include BUILD_IN_SOURCE 1 BUILD_COMMAND ${CMD_MAKE} COPT="-DNO_FILES" WITH_CPP=1 + BUILD_BYPRODUCTS ${CIVETWEB_LIB} INSTALL_COMMAND ${CMD_MAKE} COPT="-DNO_FILES" install-lib install-headers PREFIX=${CIVETWEB_SRC}/install "WITH_CPP=1") endif()