From d0508c924e75f256baa55f66c945bb4f73a18aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Widera?= Date: Wed, 18 Sep 2024 09:14:19 +0200 Subject: [PATCH] fix clang cuda issues fix clang 18 compile bug ``` clang++-18: error: unknown argument: '-Xcompiler=-g' ``` --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f69facb..0450e19 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -142,7 +142,6 @@ if(CUDA_MEMTEST_BACKEND STREQUAL "cuda") if(NOT CUDA_MEMTEST_RELEASE) set(CMAKE_BUILD_TYPE Debug) - target_compile_options(cuda_memtest PRIVATE $<$:-Xcompiler=-g>) endif() else() target_link_libraries(cuda_memtest PRIVATE hip::host)