From 47d897f04d866192c36d8ed9dbe6c7b3a13c4f84 Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 12 Aug 2025 21:46:54 -0400 Subject: [PATCH] [cmake] fix boost error Signed-off-by: crueter --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df0cb92069..a45d234196 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -733,7 +733,7 @@ find_package(Threads REQUIRED) # Platform-specific library requirements # ====================================== -if (NOT TARGET Boost::headers) +if (TARGET Boost::headers) target_link_libraries(Boost::headers INTERFACE Boost::disable_autolinking) endif()