mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-05-09 03:11:23 +08:00
Append static suffix on all platforms
This commit is contained in:
parent
f6637d754c
commit
53367104cb
@ -6,11 +6,9 @@ else()
|
||||
set(_PAHO_MQTT_C_LIB_NAME paho-mqtt3a)
|
||||
endif()
|
||||
|
||||
# add suffix when using static Paho MQTT C library variant on Windows
|
||||
if(WIN32)
|
||||
if(PAHO_BUILD_STATIC)
|
||||
set(_PAHO_MQTT_C_LIB_NAME ${_PAHO_MQTT_C_LIB_NAME}-static)
|
||||
endif()
|
||||
# add suffix when using static Paho MQTT C library variant
|
||||
if(PAHO_BUILD_STATIC)
|
||||
set(_PAHO_MQTT_C_LIB_NAME ${_PAHO_MQTT_C_LIB_NAME}-static)
|
||||
endif()
|
||||
|
||||
if(PAHO_WITH_MQTT_C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user