From 042dc4a23674cc8e58e467429c859489c18d5047 Mon Sep 17 00:00:00 2001 From: Dennis Heimbigner Date: Wed, 17 Apr 2024 19:45:03 -0600 Subject: [PATCH] ckp --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ee5e729ee..eb2427a85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -769,7 +769,11 @@ if(NETCDF_ENABLE_TESTS) set(HOSTNAME_ARG "-s") endif() if(HOSTNAME_CMD) +if(FALSE) execute_process(COMMAND ${HOSTNAME_CMD} "${HOSTNAME_ARG}" OUTPUT_VARIABLE HOSTNAME OUTPUT_STRIP_TRAILING_WHITESPACE) +else() +set(HOSTNAME "blackbird") +endif() set(NC_CTEST_SITE "${HOSTNAME}" CACHE STRING "Hostname of test machine.") endif()