Navigation Menu

Skip to content

Commit

Permalink
Fixed Zlib include paths to make FreeType build succeeds.
Browse files Browse the repository at this point in the history
  • Loading branch information
RICCIARDI-Adrien committed May 17, 2020
1 parent 5ee77ef commit 7dcaa43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -31,7 +31,7 @@ endif ()

if (OPENTOMB_INTERNAL_ZLIB)
add_subdirectory(extern/zlib)
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/extern/zlib")
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/extern/zlib" "${CMAKE_BINARY_DIR}/extern/zlib")
set(ZLIB_LIBRARY zlib)
endif ()
find_package(ZLIB REQUIRED)
Expand Down

0 comments on commit 7dcaa43

Please sign in to comment.