X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=CMakeLists.txt;h=54146773c5f5af6c98cbe77e05e110318baa8afc;hp=92907fc7c6298c1708ab9aa74fd8ca10ea06959c;hb=9851e517f1c3e55228e2fdde913c9cf0b87a4bc7;hpb=e1a27d486c2374f46abd264f3fd6561815155ebd 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})