]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add more result variables to the cmake package configuration
authorMarc Aldorasi <maldorasi@imprivata.com>
Fri, 16 Feb 2024 20:01:32 +0000 (15:01 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 3 Mar 2024 22:23:23 +0000 (23:23 +0100)
zlib-config.cmake.in

index 1914164d22627d8793c219ceac8fa72ca5ad64e9..2e4ba4f2307379756a2c47ee05e3c5eb8e6f9474 100644 (file)
@@ -3,7 +3,9 @@ set(ZLIB_VERSION @ZLIB_HEADER_VERSION@)
 @PACKAGE_INIT@
 
 set_and_check(ZLIB_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
+set(ZLIB_INCLUDE_DIRS "${ZLIB_INCLUDE_DIR}")
 set_and_check(ZLIB_LIB_DIR "@PACKAGE_LIB_INSTALL_DIR@")
+set(ZLIB_LIBRARIES ZLIB::ZLIB)
 
 include("${CMAKE_CURRENT_LIST_DIR}/ZLIB.cmake")