f9c0e90b06
Some checks failed
linux-x64-gcc / linux-gcc (Release) (push) Waiting to run
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Debug) (push) Failing after 6m41s
linux-arm-gcc / linux-gcc-arm (Debug) (push) Failing after 7m20s
linux-arm-gcc / linux-gcc-arm (Release) (push) Failing after 8m12s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (Release) (push) Failing after 9m37s
linux-mips-gcc / linux-gcc-mipsel (Debug) (push) Failing after 5m55s
linux-arm-gcc / linux-gcc-armhf (Debug) (push) Failing after 7m42s
linux-arm-gcc / linux-gcc-armhf (Release) (push) Failing after 9m17s
linux-mips-gcc / linux-gcc-mipsel (Release) (push) Failing after 9m7s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Failing after 5m28s
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Failing after 8m22s
linux-x64-gcc / linux-gcc (Debug) (push) Failing after 5m7s
linux-x86-gcc / linux-gcc (Debug) (push) Failing after 56s
linux-riscv64-gcc / linux-gcc-riscv64 (Debug) (push) Failing after 9m55s
linux-riscv64-gcc / linux-gcc-riscv64 (Release) (push) Failing after 8m2s
linux-x86-gcc / linux-gcc (Release) (push) Failing after 1m5s
16 lines
416 B
CMake
16 lines
416 B
CMake
cmake_minimum_required(VERSION 3.5)
|
|
project(
|
|
zlib
|
|
VERSION 1.3.1.1
|
|
LANGUAGES C)
|
|
file(GLOB SRC_FILES "${CMAKE_CURRENT_SOURCE_DIR}/zlib/*.c")
|
|
|
|
add_library(zlib STATIC ${SRC_FILES})
|
|
target_include_directories(zlib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
|
${CMAKE_CURRENT_SOURCE_DIR}/zlib)
|
|
add_library(ZLIB::ZLIB ALIAS zlib)
|
|
install(
|
|
TARGETS zlib
|
|
EXPORT zlib
|
|
DESTINATION lib)
|