Skip to content

Commit d065815

Browse files
committed
Do not use imported targets for Boost because they're continually broken.
1 parent 9747bc3 commit d065815

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Release/cmake/cpprest_find_boost.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ function(cpprest_find_boost)
2424
endif()
2525

2626
add_library(cpprestsdk_boost_internal INTERFACE)
27-
if(NOT TARGET Boost::boost)
27+
# FindBoost continually breaks imported targets whenever boost updates.
28+
if(1)
2829
target_include_directories(cpprestsdk_boost_internal INTERFACE "$<BUILD_INTERFACE:${Boost_INCLUDE_DIR}>")
2930
target_link_libraries(cpprestsdk_boost_internal INTERFACE "$<BUILD_INTERFACE:${Boost_LIBRARIES}>")
3031
else()

0 commit comments

Comments
 (0)