From 8a5dffa9b05b1bb2e0b1eab7b23b0b5e8ff420d2 Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Sun, 26 May 2019 12:53:27 +0200 Subject: [PATCH] cmake ZZIP_PACKAGE_VERSION and NAME --- zzip/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zzip/CMakeLists.txt b/zzip/CMakeLists.txt index 2cfa46e..8ba8dab 100644 --- a/zzip/CMakeLists.txt +++ b/zzip/CMakeLists.txt @@ -18,6 +18,11 @@ option(ZZIPFSEEKO "Build libzzipfseeko (based on posix.1 api)" ON) option(ZZIPCOMPAT "Build compatibility with old libzzip releases" ON) option(ZZIPLIBTOOL "Ensure binary compatibility with libtool" ON) +# used in zzip/_config.h +set(ZZIP_PACKAGE "${PROJECT_NAME}") +set(ZZIP_VERSION "${PROJECT_VERSION}") +set(ZZIP_PACKAGE_NAME "${PROJECT_NAME}") +set(ZZIP_PACKAGE_VERSION "${PROJECT_VERSION}") if(ZZIPCOMPAT) find_package ( UnixCommands REQUIRED ) # bash cp mv rm gzip tar -- 2.40.0