From e3fbd02afa7828e78f172f27ba403cf61aa23197 Mon Sep 17 00:00:00 2001 From: Andreas Walter Date: Mon, 20 Jan 2020 12:22:33 +0100 Subject: [PATCH] make test certificate path independent of ci environment Signed-off-by: Andreas Walter --- test/CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 813ea6ba..7bb9d826 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -3,11 +3,8 @@ PROJECT(mqtt-tests C) SET(MQTT_TEST_BROKER "tcp://localhost:1883" CACHE STRING "Hostname of a test MQTT broker to use") SET(MQTT_TEST_PROXY "tcp://localhost:1884" CACHE STRING "Hostname of the test proxy to use") SET(MQTT_SSL_HOSTNAME "localhost" CACHE STRING "Hostname of a test SSL MQTT broker to use") -IF (WIN32) - SET(CERTDIR $ENV{APPVEYOR_BUILD_FOLDER}/test/ssl) -ELSE () - SET(CERTDIR $ENV{TRAVIS_BUILD_DIR}/test/ssl) -ENDIF () + +SET(CERTDIR ${CMAKE_SOURCE_DIR}/test/ssl) IF (PAHO_WITH_SSL)