mirror of
https://github.com/aaru-dps/Aaru.Compression.Native.git
synced 2025-12-16 19:24:31 +00:00
Link LZIP directly instead of as a static library.
This commit is contained in:
8
3rdparty/lzip.cmake
vendored
8
3rdparty/lzip.cmake
vendored
@@ -1,9 +1,5 @@
|
||||
project(lzlib C)
|
||||
|
||||
set("LZIP_DIRECTORY" "lzlib-1.12")
|
||||
set("LZIP_DIRECTORY" "3rdparty/lzlib-1.12")
|
||||
|
||||
message(STATUS "LZIP VERSION: 1.12")
|
||||
|
||||
add_library(lzlib STATIC ${LZIP_DIRECTORY}/lzlib.c)
|
||||
|
||||
set_property(TARGET lzlib PROPERTY C_VISIBILITY_PRESET hidden)
|
||||
target_sources("Aaru.Compression.Native" PRIVATE ${LZIP_DIRECTORY}/lzlib.c)
|
||||
Reference in New Issue
Block a user