2
0
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:
Kyle Lutz
2015-10-19 20:00:46 -07:00
parent e855b6b6d7
commit aed377d6d8

View File

@@ -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"
] ;