vcpkg/ports/qtquick3d/portfile.cmake
Alexander Neumann 9db088e2b0
[Qt6] update to 6.3.0 (#23015)
* [Qt6] Latest feature to 6.3.0

* move failing patch to !latest

* remove debug/include

* more fixes

* more fixes

* more fixes

* give me the binary names making it fail.

* add new binary

* fix qtimageformats

* fix regressions?

* retry qtopcua

* fix regressions

* correctly guard python

* more fixes

* add vcpkg-get-python-packages

* hack webengine build to see if it will work.

* move hack to a different position

* noramlize path

* update refs to 6.3 release

* fix details

* qtwebengine back to fail on baseline

* comment long path stuff out since qtwebengine cannot be build with VS 2022 any way

* update version to 6.3.0 in manifest files

* version stuff

Co-authored-by: Alexander Neumann <you@example.com>
2022-04-21 11:42:59 -07:00

28 lines
968 B
CMake

set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
# General features:
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
"assimp" FEATURE_quick3d_assimp
#"assimp" CMAKE_REQUIRE_FIND_PACKAGE_WrapQuick3DAssimp
INVERTED_FEATURES
"assimp" CMAKE_DISABLE_FIND_PACKAGE_WrapQuick3DAssimp
)
if("assimp" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS -DINPUT_quick3d_assimp=system -DTEST_quick3d_assimp=ON -DHAVE_Assimp=ON)
else()
list(APPEND FEATURE_OPTIONS -DINPUT_quick3d_assimp=no)
endif()
set(TOOL_NAMES balsam balsamui meshdebug shadergen instancer materialeditor shapegen)
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
TOOL_NAMES ${TOOL_NAMES}
CONFIGURE_OPTIONS
${FEATURE_OPTIONS}
CONFIGURE_OPTIONS_RELEASE
CONFIGURE_OPTIONS_DEBUG
)