summaryrefslogtreecommitdiffstats
path: root/scripts/CMakeLists.txt
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2016-07-08 19:22:22 +0200
committerStephane Desneux <stephane.desneux@iot.bzh>2016-07-09 11:21:16 +0200
commitdd9a802209b6d7a41f16b0123090b93a428c9404 (patch)
tree37c62dc3ba40e8455c3fcdfd1d480639385a3f8b /scripts/CMakeLists.txt
parent81df68c04dc5e32d5d6d06bc20a7030afdf45f59 (diff)
cmake: handle build for SDK
When building for SDK, only the wgtpkg tools should be built Change-Id: I2f935bae1b26d1d0e8b9513ade85703f8f49cf9d Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'scripts/CMakeLists.txt')
-rw-r--r--scripts/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt
index 34c37cf..873e90c 100644
--- a/scripts/CMakeLists.txt
+++ b/scripts/CMakeLists.txt
@@ -18,5 +18,7 @@
cmake_minimum_required(VERSION 2.8)
-install(PROGRAMS afm-util DESTINATION ${CMAKE_INSTALL_BINDIR})
+if(NOT USE_SDK)
+ install(PROGRAMS afm-util DESTINATION ${CMAKE_INSTALL_BINDIR})
+endif()