From 0b8174695df9e8622c4238b260ace9c8dbd83a2c Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Mon, 26 Aug 2024 15:04:52 -0400 Subject: [PATCH] Range-V3 is the default dependency --- src/CMakeLists.txt | 2 +- tests/CMakeLists.txt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ffceb74017..c426d1ffbe 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index afb1e1c6a6..823e13bec8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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})