diff --git a/recipes/boost/all/test_package/CMakeLists.txt b/recipes/boost/all/test_package/CMakeLists.txt index 8d907b9de35e2..9cb7263f84f74 100644 --- a/recipes/boost/all/test_package/CMakeLists.txt +++ b/recipes/boost/all/test_package/CMakeLists.txt @@ -52,7 +52,7 @@ IF(NOT HEADER_ONLY) if (WITH_COROUTINE) ADD_EXECUTABLE(coroutine_exe coroutine.cpp) - TARGET_LINK_LIBRARIES(coroutine_exe ${Boost_LIBRARIES}) + TARGET_LINK_LIBRARIES(coroutine_exe ${CONAN_LIBS}) endif() if (WITH_CHRONO)