-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake can not find mosquitto #7009
Comments
Hi @zlinwei, can you provide more information? How did you use this port? And what information did you get? |
find_package(mosquitto CONFIG REQUIRED) then I got CMake Error at /home/locate/vcpkg/scripts/buildsystems/vcpkg.cmake:266 (_find_package):
Could not find a package configuration file provided by "mosquitto" with
any of the following names:
mosquittoConfig.cmake
mosquitto-config.cmake
Add the installation prefix of "mosquitto" to CMAKE_PREFIX_PATH or set
"mosquitto_DIR" to a directory containing one of the above files. If
"mosquitto" provides a separate development package or SDK, be sure it has
been installed. So I had to specify the location of libmosquitto.so like this: target_link_libraries(target path_to/vcpkg/installed/x64-linux/lib/libmosquitto.so) |
|
If I use it on Windows, How should I do? |
|
cmake can not find mosquitto
The text was updated successfully, but these errors were encountered: