qt6-bb10/cmake/FindGTK3.cmake

8 lines
145 B
CMake

include(FindPkgConfig)
pkg_check_modules(GTK3 "gtk+-3.0 >= 3.6" IMPORTED_TARGET)
if (NOT TARGET PkgConfig::GTK3)
set(GTK3_FOUND 0)
endif()