We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40a47ae commit 44c75fbCopy full SHA for 44c75fb
include/BoostRoot.cmake
@@ -219,8 +219,8 @@ function(__boost_scan_dependencies lib var sub_folder)
219
220
foreach(line IN LISTS data)
221
222
- if(line MATCHES "^[^#]*(Boost::[A-Za-z0-9_]+[^#]*)$")
223
- string(REGEX MATCHALL "Boost::[A-Za-z0-9_]+" libs "${CMAKE_MATCH_0}")
+ if(line MATCHES "^[^#]*(Boost::[A-Za-z0-9_]+[^#]*)(#.*)?$")
+ string(REGEX MATCHALL "Boost::[A-Za-z0-9_]+" libs "${CMAKE_MATCH_1}")
224
225
foreach(dep IN LISTS libs)
226
string(REGEX REPLACE "^Boost::" "" dep ${dep})
0 commit comments