mirror of https://github.com/eclipse/paho.mqtt.c
Fix TLS certs dir on Windows
This commit is contained in:
parent
b9587b54aa
commit
12f4fe9fbf
|
|
@ -4,12 +4,13 @@ IF (WIN32)
|
|||
SET(MQTT_TEST_BROKER "tcp://mqtt.iotree.co.uk:1883" CACHE STRING "Hostname of a test MQTT broker to use")
|
||||
SET(MQTT_TEST_PROXY "tcp://localhost:1883" CACHE STRING "Hostname of the test proxy to use")
|
||||
SET(MQTT_SSL_HOSTNAME "mqtt.iotree.co.uk" CACHE STRING "Hostname of a test SSL MQTT broker to use")
|
||||
SET(CERTDIR $ENV{APPVEYOR_BUILD_FOLDER}/test/ssl)
|
||||
ELSE ()
|
||||
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")
|
||||
SET(CERTDIR $ENV{TRAVIS_BUILD_DIR}/test/ssl)
|
||||
ENDIF ()
|
||||
SET(CERTDIR $ENV{TRAVIS_BUILD_DIR}/test/ssl )
|
||||
|
||||
IF (PAHO_WITH_SSL)
|
||||
SET(OPENSSL_SEARCH_PATH "" CACHE PATH "Directory containing OpenSSL libraries and includes")
|
||||
|
|
|
|||
Loading…
Reference in New Issue