From b952f9800fe901752d8f4b9c0a524d6de75533b6 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 29 May 2024 18:33:39 -0400 Subject: [PATCH] fix(cmake): old cmake boost bug --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f350943203..f182e24992 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -330,7 +330,7 @@ if(Boost_FOUND) add_library(Boost::headers IMPORTED INTERFACE) if(TARGET Boost::boost) # Classic FindBoost - set_property(TARGET Boost::boost PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost) + set_property(TARGET Boost::headers PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost) else() # Very old FindBoost, or newer Boost than CMake in older CMakes set_property(TARGET Boost::headers PROPERTY INTERFACE_INCLUDE_DIRECTORIES