Skip to content
Snippets Groups Projects
Commit ab3d58b9 authored by 数学の武士's avatar 数学の武士
Browse files

Update CMakeLists.txt

parent 7c6be232
No related branches found
No related tags found
No related merge requests found
......@@ -9,10 +9,8 @@ set(CMAKE_CXX_STANDARD 11)
message(STATUS "memory processing: GPU build in mode is ${INCLUDE_CUDA}")
if(INCLUDE_CUDA)
if(NOT DEFINED CMAKE_CUDA_COMPILER)
enable_language(CUDA)
include_directories(${CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES})
endif()
# -DCMAKE_CUDA_ARCHITECTURES=native -- Compile for the architecture(s) of the host's GPU(s)
endif(INCLUDE_CUDA)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment