summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-17 17:16:25 +0100
committerJohn Crispin <blogic@openwrt.org>2014-06-17 17:16:25 +0100
commitded9fec7e4afae14fe2821608c132325afd65b7e (patch)
tree4a15779a480db0877519f967dbaaebd4ffe70660 /CMakeLists.txt
parent202318c6163657fc671b27527e5228cb8170af1d (diff)
downloadprocd-ded9fec7e4afae14fe2821608c132325afd65b7e.tar.gz
only build upgraded on mips
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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})