From 6f251b7f609c932949a1951bd8cf2bcaae1ebcbf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Gst=C3=A4dtner?= Date: Sun, 3 Mar 2013 16:20:13 +0100 Subject: [PATCH] add main directory to include path --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3968c8..2a72012 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ OPTION(BUILD_LUA "build Lua binding" ON) CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/uci_config.h.in ${CMAKE_SOURCE_DIR}/uci_config.h ) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}) + SET(LIB_SOURCES libuci.c file.c util.c delta.c parse.c) ADD_LIBRARY(uci SHARED ${LIB_SOURCES}) -- 2.30.2