vcpkg/ports/qt5-base/cmake/qt_submodule_installation.cmake

11 lines
351 B
CMake
Raw Normal View History

function(qt_submodule_installation)
qt_download_submodule(OUT_SOURCE_PATH TARGET_SOURCE_PATH ${ARGV})
2019-09-16 21:37:55 +02:00
if(QT_UPDATE_VERSION)
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled PARENT_SCOPE)
else()
qt_build_submodule(${TARGET_SOURCE_PATH} ${ARGV})
2019-09-16 21:37:55 +02:00
qt_install_copyright(${TARGET_SOURCE_PATH})
endif()
endfunction()