Skip to content

Commit

Permalink
Print error message if CUDA does not support this compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Sep 21, 2023
1 parent 411ed83 commit 11d44cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ if(CMAKE_CUDA_COMPILER)
set(CMAKE_CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER})
enable_language(CUDA)
include(${PROJECT_SOURCE_DIR}/CMake/GOMCCUDASetup.cmake)
else
message(STATUS "No CUDA support for this compiler")
endif()

# Setup Serial version
Expand Down

0 comments on commit 11d44cd

Please sign in to comment.