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

Update CMakeLists.txt

parent a6195f74
Branches
No related tags found
No related merge requests found
......@@ -9,8 +9,10 @@ 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