Skip to content
Snippets Groups Projects
Commit 1e2d7f27 authored by Charles Villard's avatar Charles Villard
Browse files

edit: CMakeLists: removed manual CUDA path and upgrade Catch2 version to

latest
parent 61e04aa3
No related branches found
No related tags found
No related merge requests found
Pipeline #56676 failed
......@@ -60,13 +60,6 @@ endif()
##########
# CUDA
if(NOT $ENV{AIDGE_INSTALL} STREQUAL "")
message(WARNING "Env var CIBUILDWHEEL detected : currently building for a release job."
"\nSetting manually CUDACXX, PATH & LD_LIBRARY_PATH Variables")
list(APPEND ENV{LD_LIBRARY_PATH} /usr/local/cuda/lib64)
list(APPEND ENV{PATH} /usr/local/cuda/bin)
set(ENV{CUDACXX} /usr/local/cuda/bin/nvcc)
endif()
find_package(CUDAToolkit REQUIRED)
if(NOT DEFINED CMAKE_CUDA_STANDARD)
set(CMAKE_CUDA_STANDARD 14)
......
Include(FetchContent)
set(CATCH2_VERSION v3.0.1)
set(CATCH2_VERSION v3.7.1)
message(STATUS "Retrieving Catch2 ${CATCH2_VERSION} from git")
FetchContent_Declare(
Catch2
......
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