qt5base-lts/cmake/QtModuleToolsDependencies.cmake.in

17 lines
420 B
CMake
Raw Normal View History

# Find "ModuleTools" dependencies, which are other ModuleTools packages.
set(_tool_deps "@package_deps@")
foreach(_target_dep ${_tool_deps})
list(GET _target_dep 0 pkg)
list(GET _target_dep 1 version)
if (NOT ${pkg}_FOUND)
find_dependency(${pkg} ${version})
endif()
if (NOT ${pkg}_FOUND)
set(@INSTALL_CMAKE_NAMESPACE@@target@_FOUND FALSE)
return()
endif()
endforeach()