We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1138e8 commit 80b3369Copy full SHA for 80b3369
test/CMakeLists.txt
@@ -79,11 +79,17 @@ include_directories(${GTEST_INCLUDE_DIRS} SYSTEM)
79
set(XTENSOR_ZARR_TESTS
80
main.cpp
81
test_zarr.cpp
82
- test_gcs.cpp
83
- test_aws.cpp
84
test_gdal.cpp
85
)
86
+if(${storage_client_FOUND})
+ list(APPEND XTENSOR_ZARR_TESTS test_gcs.cpp)
87
+endif()
88
+
89
+if(${AWSSDK_FOUND})
90
+ list(APPEND XTENSOR_ZARR_TESTS test_aws.cpp)
91
92
93
add_executable(test_xtensor_zarr ${XTENSOR_ZARR_TESTS} ${XTENSOR_ZARR_HEADERS})
94
if(DOWNLOAD_GTEST OR GTEST_SRC_DIR)
95
add_dependencies(test_xtensor_zarr gtest_main)
0 commit comments