Add source directory in CMakeLists.txt for building examples.

pull/8/head
Peter Kuemmel 13 years ago committed by Mark Adler
parent 49b5d79a3b
commit 2c42538c2e
  1. 2
      CMakeLists.txt

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

Loading…
Cancel
Save