mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Replacing old miniz version with new 2.1.0
#2333: The amalgamated library is used from the 'releases' section of the original upstream https://github.com/richgel999/miniz
This commit is contained in:
parent
07282eb24d
commit
902bf682c0
18 changed files with 4192 additions and 3779 deletions
|
@ -1,14 +1,22 @@
|
|||
project(miniz)
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
add_library(miniz STATIC
|
||||
add_library(miniz INTERFACE)
|
||||
|
||||
# find_package(Miniz 2.1 REQUIRED)
|
||||
# if(Miniz_FOUND)
|
||||
|
||||
# target_link_libraries(miniz INTERFACE ${Miniz_LIBRARIES})
|
||||
# target_include_directories(miniz INTERFACE ${Miniz_INCLUDE_DIRS})
|
||||
|
||||
# else()
|
||||
|
||||
add_library(miniz_static STATIC
|
||||
miniz.c
|
||||
miniz.h
|
||||
miniz_common.h
|
||||
miniz_tdef.h
|
||||
miniz_tinfl.h
|
||||
miniz_zip.h
|
||||
miniz.cpp
|
||||
miniz_tdef.cpp
|
||||
miniz_tinfl.cpp
|
||||
miniz_zip.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(miniz INTERFACE miniz_static)
|
||||
target_include_directories(miniz INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
# endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue