Revert "CMakeLists: fix label mismatch"
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 2 Mar 2018 15:25:04 +0000 (16:25 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 2 Mar 2018 15:25:04 +0000 (16:25 +0100)
This reverts commit 3a1210f5573216582302d0802c7922b323da43bb.

CMakeLists.txt

index 548aded1b69bf0f76b5725290ff1dbe7b02c6bc6..e2514c653cdbe8177534b612ac5284a9e0edddff 100644 (file)
@@ -28,7 +28,7 @@ endif(${UBUS})
 if (${DHCPV4_SUPPORT})
        add_definitions(-DDHCPV4_SUPPORT)
        set(EXT_SRC ${EXT_SRC} src/dhcpv4.c)
-endif(${DHCPV4_SUPPORT})
+endif(${DHCPV4})
 
 add_executable(odhcpd src/odhcpd.c src/config.c src/router.c src/dhcpv6.c src/ndp.c src/dhcpv6-ia.c ${EXT_SRC})
 target_link_libraries(odhcpd resolv ubox uci ${libnl} ${EXT_LINK})