From b73ebe34ad19969e8bf05b12037ec2656c128815 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 915c1f322..4b8e40591 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,7 +29,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_unordered PRIVATE ${headers}) unset(headers)