Skip to content

Commit 7187894

Browse files
authored
fix(cmake): old cmake boost bug (#5149)
1 parent ae6432b commit 7187894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ if(Boost_FOUND)
330330
add_library(Boost::headers IMPORTED INTERFACE)
331331
if(TARGET Boost::boost)
332332
# Classic FindBoost
333-
set_property(TARGET Boost::boost PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost)
333+
set_property(TARGET Boost::headers PROPERTY INTERFACE_LINK_LIBRARIES Boost::boost)
334334
else()
335335
# Very old FindBoost, or newer Boost than CMake in older CMakes
336336
set_property(TARGET Boost::headers PROPERTY INTERFACE_INCLUDE_DIRECTORIES

0 commit comments

Comments
 (0)