Skip to content

Commit 0bcbf6d

Browse files
committed
Fix the build of boost dependencies.
1 parent 6389daa commit 0bcbf6d

File tree

1 file changed

+2
-62
lines changed

1 file changed

+2
-62
lines changed

test/cmake_subdir_test/CMakeLists.txt

Lines changed: 2 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,10 @@ cmake_minimum_required(VERSION 3.5...3.22)
22

33
project(cmake_subdir_test LANGUAGES CXX)
44

5-
# Generated by boostdep --brief redis
6-
set(_DEPENDENCIES
7-
# Primary dependencies
8-
asio
9-
assert
10-
core
11-
mp11
12-
system
13-
throw_exception
14-
15-
# Secondary dependencies
16-
align
17-
array
18-
bind
19-
chrono
20-
config
21-
context
22-
coroutine
23-
date_time
24-
exception
25-
"function"
26-
regex
27-
smart_ptr
28-
type_traits
29-
utility
30-
static_assert
31-
variant2
32-
winapi
33-
integer
34-
move
35-
mpl
36-
predef
37-
ratio
38-
typeof
39-
pool
40-
algorithm
41-
io
42-
lexical_cast
43-
numeric/conversion
44-
range
45-
tokenizer
46-
tuple
47-
preprocessor
48-
concept_check
49-
container_hash
50-
iterator
51-
unordered
52-
describe
53-
container
54-
conversion
55-
detail
56-
optional
57-
rational
58-
intrusive
59-
function_types
60-
fusion
61-
functional
62-
)
5+
set(BOOST_INCLUDE_LIBRARIES redis)
636

647
# Build our dependencies, so the targets Boost::xxx are defined
65-
set(_BOOST_ROOT ../../../..)
66-
foreach(_DEPENDENCY IN LISTS _DEPENDENCIES)
67-
add_subdirectory(${_BOOST_ROOT}/libs/${_DEPENDENCY} boostorg/${_DEPENDENCY})
68-
endforeach()
8+
add_subdirectory(${_BOOST_ROOT} boostorg/boost)
699

7010
# Build our project
7111
add_subdirectory(${_BOOST_ROOT}/libs/redis boostorg/redis)

0 commit comments

Comments
 (0)