From f197f48625c403f8efccfc31f5c8b03c6e2c2ebe Mon Sep 17 00:00:00 2001 From: przemek83 <4788832+przemek83@users.noreply.github.com> Date: Thu, 12 Dec 2024 09:30:38 +0100 Subject: [PATCH] Use absolute paths for zlib installation. --- ZlibConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ZlibConfig.cmake b/ZlibConfig.cmake index 45f7c3a..0edfa9c 100644 --- a/ZlibConfig.cmake +++ b/ZlibConfig.cmake @@ -4,5 +4,5 @@ execute_process(COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} . execute_process(COMMAND ${CMAKE_COMMAND} --build . --config Release WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/zlib ) -set(ZLIB_ROOT ${CMAKE_CURRENT_BINARY_DIR}/zlib/install) -include_directories( ${CMAKE_CURRENT_BINARY_DIR}/zlib/install/include) +set(ZLIB_ROOT ${CMAKE_BINARY_DIR}/zlib/install) +include_directories( ${CMAKE_BINARY_DIR}/zlib/install/include)