From 0bcbf6d4e4e34cb3ce4433e772f503854653d3d2 Mon Sep 17 00:00:00 2001 From: Marcelo Zimbres Date: Sat, 28 Oct 2023 09:29:51 +0200 Subject: [PATCH] Fix the build of boost dependencies. --- test/cmake_subdir_test/CMakeLists.txt | 64 +-------------------------- 1 file changed, 2 insertions(+), 62 deletions(-) diff --git a/test/cmake_subdir_test/CMakeLists.txt b/test/cmake_subdir_test/CMakeLists.txt index ad2775e3..5f3339b8 100644 --- a/test/cmake_subdir_test/CMakeLists.txt +++ b/test/cmake_subdir_test/CMakeLists.txt @@ -2,70 +2,10 @@ cmake_minimum_required(VERSION 3.5...3.22) project(cmake_subdir_test LANGUAGES CXX) -# Generated by boostdep --brief redis -set(_DEPENDENCIES - # Primary dependencies - asio - assert - core - mp11 - system - throw_exception - - # Secondary dependencies - align - array - bind - chrono - config - context - coroutine - date_time - exception - "function" - regex - smart_ptr - type_traits - utility - static_assert - variant2 - winapi - integer - move - mpl - predef - ratio - typeof - pool - algorithm - io - lexical_cast - numeric/conversion - range - tokenizer - tuple - preprocessor - concept_check - container_hash - iterator - unordered - describe - container - conversion - detail - optional - rational - intrusive - function_types - fusion - functional -) +set(BOOST_INCLUDE_LIBRARIES redis) # Build our dependencies, so the targets Boost::xxx are defined -set(_BOOST_ROOT ../../../..) -foreach(_DEPENDENCY IN LISTS _DEPENDENCIES) - add_subdirectory(${_BOOST_ROOT}/libs/${_DEPENDENCY} boostorg/${_DEPENDENCY}) -endforeach() +add_subdirectory(${_BOOST_ROOT} boostorg/boost) # Build our project add_subdirectory(${_BOOST_ROOT}/libs/redis boostorg/redis)