qt5base-lts/cmake/3rdpartyConfig.cmake.in
Jean-Michaël Celerier ea81b69cde Implement qtbase fixes for superbuilds
Change-Id: I0d3445cf0740e3925fa9342dac4d07892518afe5
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
2020-01-08 10:42:21 +00:00

16 lines
460 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}")
if (NOT QT_NO_CREATE_TARGETS)
include("${CMAKE_CURRENT_LIST_DIR}/@target@Targets.cmake")
endif()