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

cmake min version upd to 3.19

parent 37ccae56
No related branches found
No related tags found
No related merge requests found
cmake_minimum_required(VERSION 3.0)
project(MemoryProcessing)
cmake_minimum_required(VERSION 3.19)
option(INCLUDE_CUDA "GPU build in mode" OFF)
enable_language(CXX)
set(CMAKE_CXX_STANDARD 11)
option(INCLUDE_CUDA "GPU build in mode" OFF)
project(MemoryProcessing)
if(INCLUDE_CUDA)
enable_language(CUDA)
find_package(CUDA REQUIRED)
include_directories(${CUDA_INCLUDE_DIRS})
# find_package(CUDA REQUIRED)
# include_directories(${CUDA_INCLUDE_DIRS})
# -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.
Finish editing this message first!
Please register or to comment