mirror of https://github.com/eclipse/paho.mqtt.c
make test certificate path independent of ci environment
Signed-off-by: Andreas Walter <andreas.walter@waltronix.de>
This commit is contained in:
parent
afa45bf691
commit
e3fbd02afa
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue