projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216f718
)
add a variable to allow forcing dummy mode on linux systems
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 2 Oct 2011 16:41:36 +0000
(18:41 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 2 Oct 2011 16:41:36 +0000
(18:41 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 8fb8ae15a5baf90ab00ccd5d41fcf070aa919998..5b847ec466d7ce2070dab9e7134cf941c0e155ed 100644
(file)
--- 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()