Skip to content

Commit

Permalink
norem5
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisHeimbigner committed Apr 29, 2024
1 parent cc952d8 commit 6bf8c4c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,12 @@ option(NETCDF_ENABLE_DAP_REMOTE_TESTS "Enable DAP remote tests." ON)
option(NETCDF_ENABLE_EXTERNAL_SERVER_TESTS "Enable external Server remote tests." OFF)
option(NETCDF_ENABLE_DAP_LONG_TESTS "Enable DAP long tests." OFF)

if(NOT NETCDF_ENABLE_DAP OR DEFINED ENV{REMOTETESTDOWN})
if(DEFINED ENV{REMOTETESTDOWN})
message(WARNING "ENV(REMOTETESTDOWN) => NETCDF_ENABLE_DAP == OFF)
set(NETCDF_ENABLE_DAP OFF CACHE BOOL "" FORCE)
endif()
if(NOT NETCDF_ENABLE_DAP)
set(NETCDF_ENABLE_DAP_REMOTE_TESTS OFF CACHE BOOL "" FORCE)
set(NETCDF_ENABLE_EXTERNAL_SERVER_TESTS OFF CACHE BOOL "" FORCE)
set(NETCDF_ENABLE_DAP_LONG_TESTS OFF CACHE BOOL "" FORCE)
Expand Down

0 comments on commit 6bf8c4c

Please sign in to comment.