Skip to content

Commit

Permalink
Merge pull request #415 from ValeevGroup/dbwy/bugfix/cmake_cuda
Browse files Browse the repository at this point in the history
Various CMake + `ENABLE_CUDA` Fixes
  • Loading branch information
evaleev authored Aug 21, 2023
2 parents 63e180b + 1338737 commit efba9d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion external/librett.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ else()
")

# Add LibreTT dependency to External
add_dependencies(External-tiledarray librett-build)
add_dependencies(External-tiledarray librett)

set(_LIBRETT_INSTALL_DIR ${EXTERNAL_INSTALL_DIR})

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ if(CUDA_FOUND)
LANGUAGE CUDA)

# the list of libraries on which TiledArray depends on
list(APPEND _TILEDARRAY_DEPENDENCIES CUDA::cublas CUDA::nvToolsExt TiledArray_LIBRETT)
list(APPEND _TILEDARRAY_DEPENDENCIES CUDA::cudart CUDA::cublas CUDA::nvToolsExt TiledArray_LIBRETT)

endif(CUDA_FOUND)

Expand Down

0 comments on commit efba9d1

Please sign in to comment.