From ba4b7bad1d3c773311419c5a6959ff611e84711a Mon Sep 17 00:00:00 2001 From: Chris Glover Date: Fri, 30 Oct 2026 10:50:40 +0000 Subject: [PATCH] Replace CONFIGURE_DEPENDS with BOOST_CONFIGURE_DEPENDS Allows projects building boost via add_subdirectory to avoid the cost of GLOB on every build. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b33422..eaffb69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ if(NOT CMAKE_VERSION VERSION_LESS 3.19) # Using target_sources with PRIVATE or PUBLIC on INTERFACE targets requires 3.19 - file(GLOB_RECURSE headers CONFIGURE_DEPENDS include/*.hpp) + file(GLOB_RECURSE headers ${BOOST_CONFIGURE_DEPENDS} include/*.hpp) target_sources(boost_assert PRIVATE ${headers}) unset(headers)