mirror of
https://github.com/eclipse/paho.mqtt.cpp.git
synced 2025-05-09 11:21:24 +08:00
Sets the project version (CMP0048) policy for bundled builds to get rid of CMake warning
This commit is contained in:
parent
2d329af56e
commit
3d9bd01bda
@ -65,6 +65,9 @@ if(PAHO_WITH_MQTT_C)
|
||||
set(PAHO_ENABLE_TESTING FALSE CACHE BOOL "No Paho C tests")
|
||||
set(PAHO_HIGH_PERFORMANCE TRUE CACHE BOOL "Paho C high performance")
|
||||
|
||||
# TODO: Remove this when the next Paho C update is released.
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0048 NEW)
|
||||
|
||||
add_subdirectory(${PROJECT_SOURCE_DIR}/externals/paho-mqtt-c)
|
||||
|
||||
## Alias namespace so that the full names can be used with the subdir.
|
||||
|
Loading…
x
Reference in New Issue
Block a user