config: Create statefile dir
[project/odhcpd.git] / CMakeLists.txt
index 34a21d0..8c338f3 100644 (file)
@@ -7,6 +7,8 @@ project(odhcpd C)
 set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -std=c99")
 
+FIND_PATH(ubox_include_dir libubox/uloop.h)
+INCLUDE_DIRECTORIES(${ubox_include_dir})
 
 add_definitions(-D_GNU_SOURCE -Wall -Werror -Wextra)