Add source directory in CMakeLists.txt for building examples.

This commit is contained in:
Peter Kuemmel 2012-03-17 19:57:44 +01:00 committed by Mark Adler
parent 49b5d79a3b
commit 2c42538c2e

View File

@ -79,7 +79,7 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zlib.pc.cmakein
${CMAKE_CURRENT_BINARY_DIR}/zlib.pc @ONLY)
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/zconf.h.cmakein
${CMAKE_CURRENT_BINARY_DIR}/zconf.h @ONLY)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR})
#============================================================================