Skip to content

Commit

Permalink
Replace miniz dependency with libdeflate
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongseok-meta authored and nem0 committed Mar 1, 2024
1 parent eefc3df commit d2faeb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ 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 libdeflate::libdeflate_static)

target_include_directories(OpenFBX
PUBLIC
Expand Down
4 changes: 2 additions & 2 deletions openfbxConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@PACKAGE_INIT@

include(CMakeFindDependencyMacro)
find_dependency(miniz)
find_dependency(libdeflate)

include("${CMAKE_CURRENT_LIST_DIR}/openfbxTargets.cmake")

check_required_components(miniz)
check_required_components(libdeflate)

0 comments on commit d2faeb9

Please sign in to comment.