Skip to content

Commit

Permalink
Fix for using submodules in CARE
Browse files Browse the repository at this point in the history
  • Loading branch information
adayton1 committed Mar 6, 2024
1 parent 75862bb commit b7c72d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/SetupDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules)
# CAMP (required)
################################
if(NOT TARGET camp)
care_find_package(NAME camp TARGETS camp REQUIRED)
care_find_package(NAME camp TARGETS camp)

if(CAMP_FOUND)
message(STATUS "CARE: Using external CAMP")
Expand All @@ -30,7 +30,7 @@ endif()
# Umpire (required)
################################
if(NOT TARGET umpire)
care_find_package(NAME umpire TARGETS umpire REQUIRED)
care_find_package(NAME umpire TARGETS umpire)

if(UMPIRE_FOUND)
message(STATUS "CARE: Using external Umpire")
Expand All @@ -55,7 +55,7 @@ endif()
# RAJA (required)
################################
if(NOT TARGET RAJA)
care_find_package(NAME raja TARGETS RAJA REQUIRED)
care_find_package(NAME raja TARGETS RAJA)

if(RAJA_FOUND)
message(STATUS "CARE: Using external RAJA")
Expand Down Expand Up @@ -92,7 +92,7 @@ endif()
# CHAI (required)
################################
if(NOT TARGET chai)
care_find_package(NAME chai TARGETS chai REQUIRED)
care_find_package(NAME chai TARGETS chai)

if(CHAI_FOUND)
message(STATUS "CARE: Using external CHAI")
Expand Down

0 comments on commit b7c72d2

Please sign in to comment.