diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-25 17:05:46 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-25 17:05:46 +0100 |
commit | 7e6045fe4558e442e97e4a8967f08689d53f2cc4 (patch) | |
tree | d50c4e9e4d512c9d8a7e9df08bcd0114446274aa /CMakeLists.txt | |
parent | 1791dc06ea8458bb54e723a320b0ee87098ab498 (diff) | |
download | procd-7e6045fe4558e442e97e4a8967f08689d53f2cc4.tar.gz |
Make build of upgraded optional
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 92907fc..5414677 100644 --- 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}) |