From 171c6a35c93e8462fcc4b1ec61c2dda1bba5a49f Mon Sep 17 00:00:00 2001 From: Nils Schimmelmann Date: Sat, 11 May 2024 21:35:15 -0500 Subject: [PATCH] add dependencies for header tests --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 48d5eedd..9031722b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -473,6 +473,7 @@ if(CHECK_MISSING_INCLUDES) set(FNAME "${CMAKE_CURRENT_BINARY_DIR}/gen/${header_path}.gen.cpp") file(WRITE ${FNAME} "#include \"${header_path}\"\n") list(APPEND DUMMY_FILES ${FNAME}) + set_property(SOURCE ${FNAME} APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS ${header_path}) set(FNAME "") endforeach() # REVISIT: Find a way to avoid adding this to mmapper_SRCS?