From 44f9ddd7a27a8e998726c9808bf003f39c7cb67f Mon Sep 17 00:00:00 2001
From: Sergei Golubchik <sergii@pisem.net>
Date: Sat, 4 Oct 2014 20:43:39 +0200
Subject: [PATCH] fix out-of-source builds

---
 scripts/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index b99b14bf46..e1c774a483 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -15,6 +15,7 @@
 
 # Build comp_sql - used for embedding SQL in C or C++ programs
 IF(NOT CMAKE_CROSSCOMPILING)
+ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
  ADD_EXECUTABLE(comp_sql comp_sql.c)
  TARGET_LINK_LIBRARIES(comp_sql)
 ENDIF()
-- 
2.30.9