2023-05-10 07:34:59 +08:00
|
|
|
include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
|
|
|
|
|
|
|
|
if("d3d12" IN_LIST FEATURES)
|
|
|
|
list(APPEND CORE_OPTIONS -d3d12)
|
|
|
|
else()
|
|
|
|
list(APPEND CORE_OPTIONS -no-d3d12)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
qt_submodule_installation(OUT_SOURCE_PATH SOURCE_PATH BUILD_OPTIONS ${CORE_OPTIONS})
|
2022-03-08 03:27:29 +08:00
|
|
|
|
|
|
|
if(NOT QT_UPDATE_VERSION)
|
2022-05-14 07:51:51 +08:00
|
|
|
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/qt5/QtQml/${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER}/QtQml/private/qqmljsparser_p.h" "${SOURCE_PATH}" "")
|
2022-03-08 03:27:29 +08:00
|
|
|
endif()
|