From: Loïc Collignon Date: Thu, 9 Mar 2017 13:32:55 +0000 (+0100) Subject: fixed CMakeLists.txt X-Git-Tag: 3.99.1~325 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=bd50c86cce2db519c6d981bc0acffc79828a3bcf;p=apps%2Flow-level-can-service.git fixed CMakeLists.txt Change-Id: I62069f71b53a7a0e2131ca92834a9a85995308a7 Signed-off-by: Loïc Collignon --- diff --git a/CMakeLists.txt b/CMakeLists.txt index febd4f0..233ee69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1 +1,22 @@ +########################################################################### +# Copyright 2016 IoT.bzh +# +# author: José Bollo +# author: Stéphane Desneux +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +########################################################################### + +cmake_minimum_required(VERSION 3.3) +project(low-can-binding) add_subdirectory(src) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 428f0a7..85a498f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -17,10 +17,6 @@ # limitations under the License. ########################################################################### -project(low-can-binding) - -cmake_minimum_required(VERSION 3.3) - include(GNUInstallDirs) set(TARGET "root@192.168.1.206") @@ -123,4 +119,4 @@ add_custom_target(widget ALL DEPENDS ${PROJECT_NAME}.wgt) install(CODE "execute_process( COMMAND scp -r ${CMAKE_SOURCE_DIR} ${PROJECT_NAME}.wgt ${TARGET}:/tmp COMMAND ssh ${TARGET} \"/usr/bin/afm-util remove ${PROJECT_NAME}@${PROJECT_VERSION} && /usr/bin/afm-util install /tmp/${PROJECT_NAME}.wgt\")" - ) \ No newline at end of file + )