aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mosquitto/mosquitto-config.cmake
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/mosquitto/mosquitto-config.cmake
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mosquitto/mosquitto-config.cmake')
-rw-r--r--vcpkg/ports/mosquitto/mosquitto-config.cmake12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/mosquitto/mosquitto-config.cmake b/vcpkg/ports/mosquitto/mosquitto-config.cmake
new file mode 100644
index 0000000..e0f0027
--- /dev/null
+++ b/vcpkg/ports/mosquitto/mosquitto-config.cmake
@@ -0,0 +1,12 @@
+message(AUTHOR_WARNING "find_package(${PACKAGE_NAME}) is deprecated.\n${usage}")
+
+include(CMakeFindDependencyMacro)
+find_dependency(unofficial-mosquitto CONFIG)
+
+# legacy, ported from wrapper
+find_path(MOSQUITTO_INCLUDE_DIR mosquitto.h)
+set(MOSQUITTO_INCLUDE_DIRS ${MOSQUITTO_INCLUDE_DIR})
+
+# legacy, both vars included the C++ target
+set(MOSQUITTO_LIBRARIES unofficial::mosquitto::mosquittopp)
+set(MOSQUITTOPP_LIBRARIES unofficial::mosquitto::mosquittopp)