mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-08 09:10:06 +08:00
cmake: fix zlib defines, keep them local
This commit is contained in:
parent
b7fb3b0746
commit
0b68f3b81e
1 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
|||
set_property(SOURCE PROPERTY C_STANDARD 99)
|
||||
add_definitions(-D_ISOC99_SOURCE -DZ_SOLO -DNO_GZIP -DZLIB_PM3_TUNED)
|
||||
include_directories(../../common/zlib)
|
||||
|
||||
add_library(z
|
||||
../../common/zlib/deflate.c
|
||||
|
@ -12,4 +10,4 @@ add_library(z
|
|||
../../common/zlib/inftrees.c
|
||||
)
|
||||
|
||||
|
||||
target_compile_definitions(z PRIVATE Z_SOLO NO_GZIP ZLIB_PM3_TUNED)
|
||||
|
|
Loading…
Reference in a new issue