Gate legacy MQTT hook behind CMake option

This commit is contained in:
√(noham)² committed 2026-10-21 17:35:05 +02:00
1 parent e00ab1d5ed
commit 93b011807c
3 files changed
+23

No files matched your search

+8
View File
@@ -154,6 +154,14 @@ Examples:
./scripts/build.sh all # Build with all modes enabled
```
### Optional: Legacy MQTT hook
The MQTT URI patching hook (`MQTTAsync_createWithOptions`) is kept for legacy use but is **disabled by default**. To enable it, pass the CMake option when building:
```bash
cmake -DRMHOOK_ENABLE_MQTT=ON ..
```
## Debugging
You can stream the macOS console logs to see output from the hooks: