qt5base-lts/cmake/FindDirectFB.cmake
Jean-Michaël Celerier 309f96ccb6 Add CMake support for directfb plug-in
Change-Id: I126545e1da54018ce081b42a29e62ca30ee04d64
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-09-30 11:31:54 +00:00

8 lines
149 B
CMake

find_package(PkgConfig)
pkg_check_modules(DirectFB directfb IMPORTED_TARGET)
if (NOT TARGET PkgConfig::DirectFB)
set(DirectFB_FOUND 0)
endif()