projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1791dc0
)
Make build of upgraded optional
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 25 Jan 2015 16:05:46 +0000
(17:05 +0100)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 25 Jan 2015 16:05:46 +0000
(17:05 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 92907fc7c6298c1708ab9aa74fd8ca10ea06959c..54146773c5f5af6c98cbe77e05e110318baa8afc 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-26,7
+26,9
@@
IF(ZRAM_TMPFS)
SET(SOURCES_ZRAM initd/zram.c)
ENDIF()
-add_subdirectory(upgraded)
+IF(BUILD_UPGRADED)
+ add_subdirectory(upgraded)
+ENDIF()
ADD_EXECUTABLE(procd ${SOURCES})
TARGET_LINK_LIBRARIES(procd ${LIBS})