From 4abececa6ab9830e87361950c6d714c264642661 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Tue, 17 Dec 2024 00:03:36 +0000 Subject: [PATCH] Restore removed `--expt-relaxed-constexpr` --- cpp/cmake/Modules/ConfigureCUDA.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/cmake/Modules/ConfigureCUDA.cmake b/cpp/cmake/Modules/ConfigureCUDA.cmake index f6d16bb09..6fc9e8372 100644 --- a/cpp/cmake/Modules/ConfigureCUDA.cmake +++ b/cpp/cmake/Modules/ConfigureCUDA.cmake @@ -22,7 +22,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) endif() endif(CMAKE_COMPILER_IS_GNUCXX) -list(APPEND CUSPATIAL_CUDA_FLAGS --expt-extended-lambda) +list(APPEND CUSPATIAL_CUDA_FLAGS --expt-extended-lambda --expt-relaxed-constexpr) # set warnings as errors if(CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL 11.2.0)