Skip to content

Commit

Permalink
Range-V3 is the default dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
evaleev committed Aug 26, 2024
1 parent 569b0bf commit 0b81746
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ set_source_files_properties(

# the list of libraries on which TiledArray depends on, will be cached later
# when FetchContent umpire: set(_TILEDARRAY_DEPENDENCIES MADworld TiledArray_Eigen BTAS::BTAS blaspp_headers umpire)
set(_TILEDARRAY_DEPENDENCIES MADworld TiledArray_Eigen BTAS::BTAS blaspp_headers TiledArray_UMPIRE)
set(_TILEDARRAY_DEPENDENCIES MADworld TiledArray_Eigen BTAS::BTAS blaspp_headers TiledArray_UMPIRE range-v3::range-v3)

if(CUDA_FOUND OR HIP_FOUND)

Expand Down
2 changes: 0 additions & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ target_include_directories(${executable} PRIVATE
# is too late to do this here; must set TA_ERROR=throw if want to run unit tests
target_compile_definitions(${executable} PRIVATE TILEDARRAY_NO_USER_ERROR_MESSAGES=1
MADNESS_DISPLAY_EXCEPTION_BREAK_MESSAGE=0)
# always test range-v3
target_link_libraries(${executable} PRIVATE range-v3::range-v3)

# Add targets
add_test(tiledarray/unit/build "${CMAKE_COMMAND}" --build ${PROJECT_BINARY_DIR} --target ${executable})
Expand Down

0 comments on commit 0b81746

Please sign in to comment.