mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-10-25 22:28:17 +08:00
Bug 5532074 Modify the filesystem compatibility from GCC 7.x to 8.x for RHEL 8.10
This commit is contained in:
@@ -41,7 +41,7 @@ if(${OpenGL_FOUND})
|
||||
|
||||
target_compile_options(particles PRIVATE
|
||||
$<$<COMPILE_LANGUAGE:CUDA>:--extended-lambda>
|
||||
$<$<COMPILE_LANGUAGE:CUDA>:-Xcompiler="/Zc:preprocessor">
|
||||
$<$<AND:$<COMPILE_LANGUAGE:CUDA>,$<BOOL:${MSVC}>>:-Xcompiler="/Zc:preprocessor">
|
||||
)
|
||||
|
||||
target_compile_features(particles PRIVATE cxx_std_17 cuda_std_17)
|
||||
|
||||
Reference in New Issue
Block a user