From 808ed12e7540e7c8bdadaf752b497676acdfa71d Mon Sep 17 00:00:00 2001 From: CoryMartin-NOAA Date: Tue, 16 Apr 2024 20:50:53 +0000 Subject: [PATCH] working --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c399e5bcb..86b53a3f1 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -5,7 +5,8 @@ set(SHA "bda76f96666405f72abef56ad4d7d5b93ca153cd7d675853fbdb199096949f8a") string(SUBSTRING ${SHA} 0 6 SHORTSHA) set(TAR "gdasapp-fix-${SHORTSHA}.tgz") IF(DEFINED ENV{GDASAPP_UNIT_TEST_DATA_PATH}) - file(COPY ENV{GDASAPP_UNIT_TEST_DATA_PATH}/${TAR} ${CMAKE_CURRENT_BINARY_DIR}/${TAR}) + set(GDASAPP_UNIT_TEST_DATA_PATH "$ENV{GDASAPP_UNIT_TEST_DATA_PATH}") + file(COPY ${GDASAPP_UNIT_TEST_DATA_PATH}/${TAR} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) ELSE() # download test files file(DOWNLOAD