From 3c439feadc1bfae9f1daa203bd19b22be1fb37fe Mon Sep 17 00:00:00 2001 From: peizhilin Date: Wed, 7 Nov 2018 21:13:19 +0800 Subject: [PATCH] remove the duplicate flag --- cmake/cuda.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/cuda.cmake b/cmake/cuda.cmake index cdcbb79792..964d5fd45b 100644 --- a/cmake/cuda.cmake +++ b/cmake/cuda.cmake @@ -200,7 +200,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel") endif() else(NOT WIN32) if(CMAKE_BUILD_TYPE STREQUAL "Debug") - list(APPEND CUDA_NVCC_FLAGS "-g -lineinfo -G") + list(APPEND CUDA_NVCC_FLAGS "-g -G") elseif(CMAKE_BUILD_TYPE STREQUAL "Release") list(APPEND CUDA_NVCC_FLAGS "-O3 -DNDEBUG") else() -- GitLab