Skip to content

Commit

Permalink
CMakeLists.txt - fix zconf.h not being found in case of out-of-source…
Browse files Browse the repository at this point in the history
…-tree build
  • Loading branch information
eiszapfen2000 authored and nmoinvaz committed Dec 4, 2020
1 parent 01ade07 commit b81e65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ elseif(MZ_ZLIB)
clone_repo(ZLIB https://github.com/madler/zlib)

# Don't automatically add all targets to the solution
add_subdirectory(${ZLIB_SOURCE_DIR} ${ZLIB_BINARY_DIR} EXCLUDE_FROM_ALL)
add_subdirectory(${ZLIB_SOURCE_DIR} ${ZLIB_SOURCE_DIR} EXCLUDE_FROM_ALL)

list(APPEND MINIZIP_INC ${ZLIB_SOURCE_DIR})
# Have to add zlib to install targets
Expand Down

0 comments on commit b81e65c

Please sign in to comment.