mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-27 09:01:46 +00:00
build/cmake: Fix udev related warning
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (UDEV) does not match the name of the calling package (udev). 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): cmake/Findudev.cmake:64 (find_package_handle_standard_args) CMakeLists.txt:71 (find_package)
This commit is contained in:
parent
15a89005ca
commit
2855616e32
|
@ -61,7 +61,7 @@ find_path(UDEV_INCLUDE_DIR
|
||||||
)
|
)
|
||||||
|
|
||||||
include(FindPackageHandleStandardArgs)
|
include(FindPackageHandleStandardArgs)
|
||||||
find_package_handle_standard_args(UDEV
|
find_package_handle_standard_args(udev
|
||||||
DEFAULT_MSG
|
DEFAULT_MSG
|
||||||
UDEV_LIBRARY
|
UDEV_LIBRARY
|
||||||
UDEV_INCLUDE_DIR
|
UDEV_INCLUDE_DIR
|
||||||
|
|
Loading…
Reference in a new issue