From f0175c69e216545ff543b1f46870d1c1a27aa5f0 Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Mon, 2 Dec 2024 15:09:17 +0100 Subject: [PATCH] CMake: Add INSTALL_INTERFACE for a proper export. --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index efa0ef4a..3b24374a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,7 +96,8 @@ if(ZLIB_BUILD_SHARED) $<$,$>:win32/zlib1.rc>) target_include_directories(zlib PUBLIC $ - $) + $ + $) target_compile_definitions(zlib PRIVATE $<$:_LARGEFILE64_SOURCE=1> @@ -129,7 +130,8 @@ if(ZLIB_BUILD_STATIC) ${ZLIB_PRIVATE_HDRS}) target_include_directories(zlibstatic PUBLIC $ - $) + $ + $) target_compile_definitions(zlibstatic PRIVATE $<$:NO_FSEEKO>