projects
/
project
/
netifd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
only override the uci conf dir in dummy mode
[project/netifd.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
de0c74b
..
8fb8ae1
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-22,6
+22,7
@@
IF("${CMAKE_SYSTEM_NAME}" MATCHES "Linux")
SET(SOURCES ${SOURCES} system-linux.c)
SET(LIBS ${LIBS} nl)
ELSE()
+ ADD_DEFINITIONS(-DDUMMY_MODE=1)
SET(SOURCES ${SOURCES} system-dummy.c)
ENDIF()