提交 3c439fea 编写于 作者: P peizhilin

remove the duplicate flag

上级 e3f7be95
...@@ -200,7 +200,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel") ...@@ -200,7 +200,7 @@ elseif(CMAKE_BUILD_TYPE STREQUAL "MinSizeRel")
endif() endif()
else(NOT WIN32) else(NOT WIN32)
if(CMAKE_BUILD_TYPE STREQUAL "Debug") 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") elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
list(APPEND CUDA_NVCC_FLAGS "-O3 -DNDEBUG") list(APPEND CUDA_NVCC_FLAGS "-O3 -DNDEBUG")
else() else()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册