vcpkg/ports/qt5-3d/portfile.cmake
Osyotr 5eea628fc2
[assimp] Update to 5.3.1, fix pkg-config (#33957)
* [assimp] Update to 5.3.0

* Remove <utf8.h> from public include

* [assimp] fix pkg-config for static builds

* [qt5-3d] Use pkgconfig to find assimp

* [assimp] -llibassimp -> -lassimp

* [assimp] Update to 5.3.1
2023-09-28 23:29:58 -07:00

11 lines
381 B
CMake

include("${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake")
set(OPTIONS -system-assimp)
x_vcpkg_pkgconfig_get_modules(PREFIX assimp MODULES assimp LIBS)
set(OPT_REL "ASSIMP_LIBS=${assimp_LIBS_RELEASE}")
set(OPT_DBG "ASSIMP_LIBS=${assimp_LIBS_DEBUG}")
qt_submodule_installation(BUILD_OPTIONS ${OPTIONS} BUILD_OPTIONS_RELEASE ${OPT_REL} BUILD_OPTIONS_DEBUG ${OPT_DBG})