diff --git a/test/cmake_test/CMakeLists.txt b/test/cmake_test/CMakeLists.txt index c43b6145..9c90abf0 100644 --- a/test/cmake_test/CMakeLists.txt +++ b/test/cmake_test/CMakeLists.txt @@ -16,40 +16,8 @@ if(BOOST_CI_INSTALL_TEST) find_package(Boost CONFIG REQUIRED COMPONENTS http_proto) else() set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) - add_subdirectory(../.. boostorg/http_proto) - - set(BOOST_URL_BUILD_TESTS OFF CACHE BOOL "" FORCE) - - set(deps - # Primary dependencies - - assert - buffers - capy - config - core - static_assert - system - throw_exception - type_traits - url - winapi - - # Secondary dependencies - - compat - container_hash - mp11 - variant2 - align - optional - predef - describe - ) - - foreach(dep IN LISTS deps) - add_subdirectory(../../../${dep} boostorg/${dep} EXCLUDE_FROM_ALL) - endforeach() + set(BOOST_INCLUDE_LIBRARIES http_proto) + add_subdirectory(../../../.. boostorg/boost) endif() add_executable(main main.cpp)