X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=scripts%2FCMakeLists.txt;h=bf0846caa130180f2353b895eab998e8875aa5cc;hb=d06b3d9f5bae5424bcada675eaece47b56eb9e3d;hp=74ecec7a5a78c34ba27bcafd8f279d90b507baa4;hpb=e96fa2cd6b81784ad6fb6ba1794ac6e034486b97;p=src%2Fapp-framework-main.git diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 74ecec7..bf0846c 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -1,5 +1,5 @@ ########################################################################### -# Copyright 2015 IoT.bzh +# Copyright 2015, 2016, 2017 IoT.bzh # # author: José Bollo # @@ -18,5 +18,10 @@ cmake_minimum_required(VERSION 2.8) -install(PROGRAMS afm-util DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) +if(NOT USE_SDK) + install(PROGRAMS afm-util DESTINATION ${CMAKE_INSTALL_BINDIR}) + if(AGL_DEVEL) + install(PROGRAMS afm-debug DESTINATION ${CMAKE_INSTALL_BINDIR}) + endif() +endif()