From 372dd855ac55c249917d18576fd025ea26e19e2b Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Thu, 18 Jul 2024 14:57:11 -0400 Subject: [PATCH] Enable use of language and test CUDA compiler --- test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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()