Skip to content
Snippets Groups Projects
Commit f1962203 authored by Houssem ROUIS's avatar Houssem ROUIS Committed by Cyril Moineau
Browse files

fix CMakeLists

parent 9dd04709
No related branches found
No related tags found
1 merge request!28v0.2.2
...@@ -42,6 +42,12 @@ if(NOT $ENV{AIDGE_INSTALL} STREQUAL "") ...@@ -42,6 +42,12 @@ if(NOT $ENV{AIDGE_INSTALL} STREQUAL "")
endif() endif()
find_package(aidge_core REQUIRED) find_package(aidge_core REQUIRED)
# Enable CUDA if backend_cuda is found
find_package(aidge_backend_cuda)
if(aidge_backend_cuda_FOUND)
enable_language(CUDA)
endif()
############################################## ##############################################
# Create target and set properties # Create target and set properties
......
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