pineapple/externals/vcpkg/ports/mosquitto/usage

6 lines
223 B
Text
Raw Normal View History

2022-07-23 03:01:36 +02:00
The package mosquitto provides CMake targets:
find_package(mosquitto REQUIRED)
target_include_directories(main PRIVATE ${MOSQUITTO_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${MOSQUITTO_LIBRARIES})