Skip to content

Commit 02a4a4c

Browse files
authored
Merge pull request #487 from eagles-project/mjs/f/cuda-toolkit-rm
Removes `find(cuda_toolkit)` and warning fix
2 parents 3d4e185 + d6fc2d7 commit 02a4a4c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ endif()
2727
# Blessed version of clang-format.
2828
set(CLANG_FORMAT_VERSION 14)
2929

30+
project (haero)
31+
3032
enable_language(C) # needed so ekat can detect MPI
3133
enable_language(CXX)
3234

33-
project (haero)
34-
3535
# Set all installation folders for third-party libraries, and figure out which
3636
# ones have to be built for Haero.
3737
include(HaeroConfigurePlatform)

cmake/haero.cmake.in

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ target_link_libraries(kokkos INTERFACE kokkoscontainers kokkoscore)
4646

4747
if (HAERO_ENABLE_GPU)
4848
# FIXME: this assumes an NVIDIA GPU!
49-
50-
# CUDA stuff
51-
find_package(CUDAToolkit)
52-
5349
set(HAERO_LIBRARIES @HAERO_LIBRARIES@;kokkos;cuda;m)
5450
else()
5551
set(HAERO_LIBRARIES @HAERO_LIBRARIES@;kokkos;m)

0 commit comments

Comments
 (0)