1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Alec Leamas <leamas.alec@gmail.com>
Date: Sat, 10 Aug 2024 09:49:04 +0200
Subject: tests: disable rest server tests for now
Bug: https://github.com/OpenCPN/OpenCPN/issues/4090
---
test/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 6b70259..cf1c76f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -32,7 +32,7 @@ if (MSVC)
set(CURL_HINTS C:\\mingw64\\bin C:\\ProgramData\\chocolatey\\bin)
endif ()
find_program(CURL NAMES curl HINTS ${CURL_HINTS})
-if (CURL)
+if (CURL AND NOT OCPN_DISTRO_BUILD)
list(APPEND SRC rest-tests.cpp)
endif ()
|