Skip to content

Commit

Permalink
Use absolute paths for zlib installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 12, 2024
1 parent 8335db5 commit f197f48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ZlibConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit f197f48

Please sign in to comment.