summaryrefslogtreecommitdiffhomepage
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-12-03 22:00:33 +0100
committerSteven Barth <steven@midlink.org>2013-12-03 22:00:33 +0100
commit1565d76bd6ff2d1064c3d30e947dc70613417853 (patch)
treec0dca5b2447e09124a0b93cfa5e472f74f9b94ba /CMakeLists.txt
parentd02dc222e61e2464bf850a629030c8a8b9b57ee8 (diff)
Fix prefix class logic
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 891dc41..09173e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,6 +10,11 @@ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -std=c99")
add_definitions(-D_GNU_SOURCE -Wall -Werror -Wextra -DWITH_UBUS)
+if(${EXT_PREFIX_CLASS})
+ add_definitions(-DEXT_PREFIX_CLASS=${EXT_PREFIX_CLASS})
+endif(${EXT_PREFIX_CLASS})
+
+
add_executable(odhcpd src/odhcpd.c src/config.c src/router.c src/dhcpv6.c src/ndp.c src/md5.c src/dhcpv6-ia.c src/dhcpv4.c src/ubus.c)
target_link_libraries(odhcpd resolv ubus ubox uci)