From 0b4f761e314fe9055ed2bc353a699454a194a5d6 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 22 Apr 2014 19:28:02 +0200 Subject: Fix the CMakeLists.txt to correctly have -Ibuild/src/ --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 84d9be9..361237a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,8 @@ find_package(Libidn) find_package(SystemdDaemon) # To be able to include the config.h file generated by cmake -include_directories("src/") +include_directories("${CMAKE_CURRENT_SOURCE_DIR}/src/") +include_directories("${CMAKE_CURRENT_BINARY_DIR}/src/") include_directories(${EXPAT_INCLUDE_DIRS}) include_directories(${ICONV_INCLUDE_DIRS}) -- cgit v1.2.3