Commit 22e454e 1 parent 31ce72a commit 22e454e Copy full SHA for 22e454e
File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ cmake_minimum_required(VERSION 3.14...3.22)
5
5
# Note: update this to your new project's name and version
6
6
project (
7
7
AddBoost.cmake
8
- VERSION 1.0
8
+ VERSION 1.1
9
9
LANGUAGES CXX
10
10
)
11
11
@@ -116,6 +116,7 @@ function(add_boost TRY_BOOST_VERSION BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
116
116
)
117
117
CPMAddPackage(
118
118
NAME Boost
119
+ VERSION ${TRY_BOOST_VERSION}
119
120
URL ${BOOST_URL} PATCHES ${patches_for_boost}
120
121
OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_SKIP_INSTALL_RULES OFF"
121
122
)
@@ -126,6 +127,7 @@ function(add_boost TRY_BOOST_VERSION BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
126
127
)
127
128
CPMAddPackage(
128
129
NAME Boost
130
+ VERSION ${TRY_BOOST_VERSION}
129
131
URL ${BOOST_URL}
130
132
OPTIONS "BOOST_SKIP_INSTALL_RULES OFF"
131
133
)
@@ -136,6 +138,7 @@ function(add_boost TRY_BOOST_VERSION BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
136
138
)
137
139
CPMAddPackage(
138
140
NAME Boost
141
+ VERSION ${TRY_BOOST_VERSION}
139
142
GIT_REPOSITORY "https://github.com/boostorg/boost"
140
143
GIT_TAG "boost-${TRY_BOOST_VERSION} " PATCHES ${patches_for_boost}
141
144
OPTIONS "BOOST_ENABLE_CMAKE ON" "BOOST_SKIP_INSTALL_RULES OFF"
You can’t perform that action at this time.
0 commit comments