summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/shim-eth-llc/CMakeLists.txt6
-rw-r--r--src/ipcpd/shim-udp/CMakeLists.txt5
2 files changed, 9 insertions, 2 deletions
diff --git a/src/ipcpd/shim-eth-llc/CMakeLists.txt b/src/ipcpd/shim-eth-llc/CMakeLists.txt
index e9c34bbd..c3e954f7 100644
--- a/src/ipcpd/shim-eth-llc/CMakeLists.txt
+++ b/src/ipcpd/shim-eth-llc/CMakeLists.txt
@@ -28,6 +28,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(HAVE_LLC TRUE)
else ()
message(STATUS "Raw socket support for shim-eth-llc disabled by user")
+ unset(HAVE_RAW_SOCKETS)
+ unset(HAVE_LLC)
endif ()
endif ()
@@ -50,6 +52,8 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
else ()
message(STATUS "Berkeley Packet Filter support "
"for shim-eth-llc disabled by user")
+ unset(HAVE_BPF)
+ unset(HAVE_LLC)
endif ()
endif ()
endif ()
@@ -64,6 +68,8 @@ if (NETMAP_C_INCLUDE_DIR)
set(HAVE_LLC TRUE)
else ()
message(STATUS "Netmap support for shim-eth-llc disabled by user")
+ unset(HAVE_NETMAP)
+ unset(HAVE_LLC)
endif ()
endif ()
diff --git a/src/ipcpd/shim-udp/CMakeLists.txt b/src/ipcpd/shim-udp/CMakeLists.txt
index 2bc68154..0319e63d 100644
--- a/src/ipcpd/shim-udp/CMakeLists.txt
+++ b/src/ipcpd/shim-udp/CMakeLists.txt
@@ -43,9 +43,10 @@ if (NSLOOKUP_EXECUTABLE AND NSUPDATE_EXECUTABLE)
if (NOT DISABLE_DNS)
message(STATUS "DDNS support enabled")
set(HAVE_DDNS TRUE CACHE INTERNAL "")
- else ()
+ else ()
message(STATUS "DDNS support disabled by user")
- endif ()
+ unset(HAVE_DDNS CACHE)
+ endif ()
else ()
if (NSLOOKUP_EXECUTABLE)
message(STATUS "Install nsupdate to enable DDNS support")