Skip to content

Commit

Permalink
honor the current project
Browse files Browse the repository at this point in the history
  • Loading branch information
white238 committed Mar 5, 2024
1 parent f3fbb72 commit 4eb6a65
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmake/BLTThirdPartyConfigFlags.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ set(BLT_ENABLE_HIP @ENABLE_HIP@)
set(BLT_ENABLE_MPI @ENABLE_MPI@)
set(BLT_ENABLE_OPENMP @ENABLE_OPENMP@)
set(BLT_ENABLE_FIND_MPI @ENABLE_FIND_MPI@)
set(BLT_ENABLE_CLANG_CUDA @ENABLE_CLANG_CUDA@)

# Always prefer the current project if they turned it on
if(ENABLE_CLANG_CUDA)
set(BLT_ENABLE_CLANG_CUDA @ENABLE_CLANG_CUDA@)
endif()

if (NOT DEFINED BLT_CLANG_CUDA_ARCH)
set(BLT_CLANG_CUDA_ARCH "@BLT_CLANG_CUDA_ARCH@")
Expand Down

0 comments on commit 4eb6a65

Please sign in to comment.