File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ macro(add_boost TRY_BOOST_VERSION BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
99
99
endif ()
100
100
endif ()
101
101
102
+ message (DEBUG "patches_for_boost: ${patches_for_boost} " )
103
+
102
104
string (REPLACE ";" "\; " ESCAPED_BOOST_NOT_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
103
105
"${${BOOST_NOT_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED} }"
104
106
)
@@ -127,7 +129,7 @@ macro(add_boost TRY_BOOST_VERSION BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED
127
129
CPMAddPackage(
128
130
NAME Boost
129
131
VERSION "${boost_find_package_version} "
130
- URL ${BOOST_URL}
132
+ URL ${BOOST_URL} PATCHES ${patches_for_boost}
131
133
FIND_PACKAGE_ARGUMENTS "COMPONENTS ${ESCAPED_BOOST_NOT_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED} "
132
134
OPTIONS "BOOST_ENABLE_CMAKE ON;BOOST_SKIP_INSTALL_RULES OFF;${BOOST_MY_OPTIONS} "
133
135
)
You can’t perform that action at this time.
0 commit comments