mirror of
https://github.com/boostorg/compute.git
synced 2026-01-27 06:42:19 +00:00
Fix Boost.Test link error in test/Jamfile.v2
This commit is contained in:
@@ -6,13 +6,12 @@ import testing ;
|
||||
|
||||
lib boost_unit_test_framework ;
|
||||
|
||||
project boost/compute/test
|
||||
project
|
||||
: source-location .
|
||||
: requirements
|
||||
<include>.
|
||||
<include>../include
|
||||
<define>BOOST_TEST_DYN_LINK
|
||||
<linkflags>"-lboost_unit_test_framework"
|
||||
<define>BOOST_ALL_NO_LIB=1
|
||||
<cxxflags>-Wno-deprecated-declarations
|
||||
<library>/boost/test//boost_unit_test_framework
|
||||
;
|
||||
|
||||
rule test_all
|
||||
@@ -25,6 +24,7 @@ rule test_all
|
||||
:
|
||||
:
|
||||
:
|
||||
<link>shared:<define>BOOST_TEST_DYN_LINK=1
|
||||
<host-os>linux:<linkflags>"-lOpenCL"
|
||||
<host-os>darwin:<linkflags>"-framework OpenCL"
|
||||
] ;
|
||||
|
||||
Reference in New Issue
Block a user