qt5base-lts/cmake/3rdpartyConfig.cmake.in
Jean-Michaël Celerier 1b36fe53c6 cmake: export locally-built dependencies in static build
Change-Id: Ifbcedd32cef3b9c8b4b8c9ca0d229850f696f406
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-05-02 11:41:55 +00:00

14 lines
418 B
CMake

@PACKAGE_INIT@
get_filename_component(_import_prefix "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(_import_prefix "${_import_prefix}" REALPATH)
set(old_CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}")
set(CMAKE_MODULE_PATH "${_import_prefix}" ${CMAKE_MODULE_PATH} )
@3RDPARTY_ADDITIONAL_SETUP_CODE@
set(CMAKE_MODULE_PATH "${old_CMAKE_MODULE_PATH}")
include("${CMAKE_CURRENT_LIST_DIR}/@target@Targets.cmake")