Skip to content

Commit 2fbd2cc

Browse files
committed
Handle Boost.Test
1 parent e8c5090 commit 2fbd2cc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/BoostRoot.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,11 @@ function(__boost_scan_dependencies lib var sub_folder)
217217

218218
foreach(dep IN LISTS libs)
219219
string(REGEX REPLACE "^Boost::" "" dep ${dep})
220-
string(REGEX REPLACE "^numeric_" "numeric/" dep ${dep})
220+
if(dep MATCHES "unit_test_framework|prg_exec_monitor|test_exec_monitor")
221+
set(dep "test")
222+
else()
223+
string(REGEX REPLACE "^numeric_" "numeric/" dep ${dep})
224+
endif()
221225
list(APPEND result ${dep})
222226
endforeach()
223227

0 commit comments

Comments
 (0)