From 75f994f61d43e790583b10f215a551d643d92a7f Mon Sep 17 00:00:00 2001
From: Steffen Vogel <post@steffenvogel.de>
Date: Thu, 23 Aug 2018 13:15:20 +0200
Subject: [PATCH] cmake: fix invalid paths

---
 common/lib/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/lib/CMakeLists.txt b/common/lib/CMakeLists.txt
index 8988ee405..b98634a74 100644
--- a/common/lib/CMakeLists.txt
+++ b/common/lib/CMakeLists.txt
@@ -55,8 +55,8 @@ endif()
 target_include_directories(villas-common PUBLIC
 	${OPENSSL_INCLUDE_DIR}
 	${CURL_INCLUDE_DIRS}
-	${CMAKE_BINARY_DIR}/include
-	${CMAKE_SOURCE_DIR}/include
+	${PROJECT_BINARY_DIR}/include
+	${PROJECT_SOURCE_DIR}/include
 	${PROJECT_SOURCE_DIR}/thirdparty/spdlog/include
 )