mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
[openfbx] Miniz dep was removed in latest version and replaced by libdeflate (#42694)
Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
This commit is contained in:
parent
5a1b13ca83
commit
8e78590ad7
@ -6,10 +6,11 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
find_package(miniz REQUIRED)
|
||||
find_package(libdeflate REQUIRED)
|
||||
|
||||
add_library(openfbx src/ofbx.cpp)
|
||||
target_link_libraries(openfbx PRIVATE miniz::miniz)
|
||||
target_link_libraries(openfbx PRIVATE $<IF:$<TARGET_EXISTS:libdeflate::libdeflate_shared>,libdeflate::libdeflate_shared,libdeflate::libdeflate_static>)
|
||||
|
||||
|
||||
target_include_directories(openfbx
|
||||
PUBLIC
|
||||
|
@ -1,8 +1,8 @@
|
||||
@PACKAGE_INIT@
|
||||
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(miniz)
|
||||
find_dependency(libdeflate)
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/unofficial-openfbxTargets.cmake")
|
||||
|
||||
check_required_components(miniz)
|
||||
check_required_components(libdeflate)
|
||||
|
@ -1,11 +1,12 @@
|
||||
{
|
||||
"name": "openfbx",
|
||||
"version-date": "2024-05-08",
|
||||
"port-version": 1,
|
||||
"description": "Lightweight open source FBX importer",
|
||||
"homepage": "https://github.com/nem0/OpenFBX",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"miniz",
|
||||
"libdeflate",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
|
@ -6694,7 +6694,7 @@
|
||||
},
|
||||
"openfbx": {
|
||||
"baseline": "2024-05-08",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openfx": {
|
||||
"baseline": "1.4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "91f58df63150443bd8e644f319361162031b88c7",
|
||||
"version-date": "2024-05-08",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "a8cefcba9bae878776bff95c9f078ffa58d5f15a",
|
||||
"version-date": "2024-05-08",
|
||||
|
Loading…
x
Reference in New Issue
Block a user