From: Thomas Gstädtner Date: Sun, 3 Mar 2013 15:20:13 +0000 (+0100) Subject: add main directory to include path X-Git-Url: http://git.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=6f251b7f609c932949a1951bd8cf2bcaae1ebcbf;ds=sidebyside add main directory to include path --- 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})