You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now I get the following warning when using pigpio via cmake:
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to `find_package_handle_standard_args` (rt) does
not match the name of the calling package (RT). This can lead to problems
in calling code that expects `find_package` result variables (e.g.,
`_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
/home/calum/bin/_deps/pigpio-src/cmake/FindRT.cmake:28 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/home/calum/bin/_deps/pigpio-src/CMakeLists.txt:8 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
The fix is to just use uppercase for the package name:
FIND_PACKAGE_HANDLE_STANDARD_ARGS(RT ...)
The text was updated successfully, but these errors were encountered:
Right now I get the following warning when using pigpio via cmake:
The fix is to just use uppercase for the package name:
FIND_PACKAGE_HANDLE_STANDARD_ARGS(RT ...)
The text was updated successfully, but these errors were encountered: