From 2c42538c2e420d9abaf7c6f2929c4b05d6c440b3 Mon Sep 17 00:00:00 2001 From: Peter Kuemmel Date: Sat, 17 Mar 2012 19:57:44 +0100 Subject: [PATCH] Add source directory in CMakeLists.txt for building examples. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b61ea39..285305d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) #============================================================================