From aab5615166efb78d793eccd1a5d5ac7aab6324f5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 2 Oct 2011 18:41:36 +0200 Subject: [PATCH] add a variable to allow forcing dummy mode on linux systems --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fb8ae1..5b847ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,7 @@ SET(SOURCES SET(LIBS ubox ubus uci json blobmsg_json) -IF("${CMAKE_SYSTEM_NAME}" MATCHES "Linux") +IF("${CMAKE_SYSTEM_NAME}" MATCHES "Linux" AND NOT DUMMY_MODE) SET(SOURCES ${SOURCES} system-linux.c) SET(LIBS ${LIBS} nl) ELSE() -- 2.11.0