diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 689ea7a83..f8eae528c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -6,6 +6,9 @@ include(BoostTestJamfile OPTIONAL RESULT_VARIABLE HAVE_BOOST_TEST) if(HAVE_BOOST_TEST) + enable_language(CUDA) + set(CMAKE_CUDA_EXTENSIONS OFF) + boost_test_jamfile(FILE cmake_jamfile LINK_LIBRARIES Boost::cuda_math Boost::assert Boost::concept_check Boost::config Boost::core Boost::integer Boost::lexical_cast Boost::multiprecision Boost::predef Boost::random Boost::static_assert Boost::throw_exception Boost::unit_test_framework ) endif()