qt5base-lts/cmake/FindXRender.cmake
Tobias Hunger 7874ce7801 CMake: Improve mapping of libraries
Merge all data related to mapping libraries into one data structure
in helper.py.

Use that data for everything related to library mapping.

This change enables way more features now like e.g. adding find_package
calls into generated files.

Change-Id: Ibbd2a1063cbeb65277582d434a6a672d62fc170b
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-05-03 13:42:25 +00:00

6 lines
121 B
CMake

include(FindPkgConfig)
if(NOT TARGET PkgConfig::xrender)
pkg_check_modules(XRender xrender IMPORTED_TARGET)
endif()