From 7e6045fe4558e442e97e4a8967f08689d53f2cc4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 25 Jan 2015 17:05:46 +0100 Subject: [PATCH] Make build of upgraded optional Signed-off-by: Jo-Philipp Wich --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}) -- 2.30.2