diff --git a/CMakeLists.txt b/CMakeLists.txt index 9af15d1e3e2edace56757f70ce091f1c6acd95e1..8dcf4c75c1dc448d2e6b1fe7b578578b5bddc1fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -163,6 +163,7 @@ if(hasParent) set(OPTIONAL_BOOST_LIBS ${OPTIONAL_BOOST_LIBS} PARENT_SCOPE) set(DEFINE_HAVE_OPENMP ${DEFINE_HAVE_OPENMP} PARENT_SCOPE) set(DEFINE_HAVE_ALPAKA ${DEFINE_HAVE_ALPAKA} PARENT_SCOPE) + set(CUDA_FOUND ${CUDA_FOUND} PARENT_SCOPE) set(CUDA_VERSION_MAJOR ${CUDA_VERSION_MAJOR} PARENT_SCOPE) set(CUDA_VERSION_MINOR ${CUDA_VERSION_MINOR} PARENT_SCOPE) set(CUDA_VERSION_PATCH ${CUDA_VERSION_PATCH} PARENT_SCOPE)