From 588a1a0b5ff2b47a103f22ff85cb9f9576538a6a Mon Sep 17 00:00:00 2001 From: olszomal Date: Tue, 21 Nov 2023 15:54:02 +0100 Subject: [PATCH] Use default certificates when the HTTP server fails --- cmake/CMakeTest.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/CMakeTest.cmake b/cmake/CMakeTest.cmake index 8c7ef45..1e0a3ae 100644 --- a/cmake/CMakeTest.cmake +++ b/cmake/CMakeTest.cmake @@ -70,6 +70,8 @@ else(WIN32 OR APPLE) RESULT_VARIABLE server_error) if(server_error) message(STATUS "HTTP server failed: ${server_error}") + message(STATUS "Use python3 to start HTTP server: \"python3 Testing/server_http.py --port 19254\"") + set(default_certs 1) else(server_error) # Check if file exists and is no-empty while(NOT EXISTS ${LOGS}/port.log)