From: John Crispin Date: Tue, 17 Jun 2014 16:16:25 +0000 (+0100) Subject: only build upgraded on mips X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=ded9fec7e4afae14fe2821608c132325afd65b7e only build upgraded on mips Signed-off-by: John Crispin --- diff --git a/CMakeLists.txt b/CMakeLists.txt index dc7ecd6..1616b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,9 @@ IF(DEBUG) ADD_DEFINITIONS(-DDEBUG -g3) ENDIF() +IF(CMAKE_SYSTEM_PROCESSOR STREQUAL "mips") add_subdirectory(upgraded) +ENDIF() ADD_EXECUTABLE(procd ${SOURCES}) TARGET_LINK_LIBRARIES(procd ${LIBS})