qt5base-lts/cmake/FindMtdev.cmake
Samuli Piippo 9bab556005 Fix typo for Mtdev pkgconfig target
Change-Id: Id6e7057e8010f67ba1c8ce948abc59bc7abf7b7b
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-02-11 09:20:14 +00:00

8 lines
137 B
CMake

find_package(PkgConfig)
pkg_check_modules(Mtdev mtdev IMPORTED_TARGET)
if (NOT TARGET PkgConfig::Mtdev)
set(Mtdev_FOUND 0)
endif()