X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=libs%2FCMakeLists.txt;h=6a16d32fc42d487a131036aa0dbfa08bbca98d3d;hb=c5b97727b2400a4d7af33de33451b16e92e84e75;hp=cd29ea838e4a6655e74f907c7c0f1172e217bd50;hpb=044ef27d3667a114964549f89c63ab1ea6655877;p=apps%2Fagl-service-can-low-level.git diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index cd29ea83..6a16d32f 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -1,7 +1,7 @@ ########################################################################### -# Copyright 2015, 2016, 2017 IoT.bzh +# Copyright 2015 - 2018 IoT.bzh # -# author: Fulup Ar Foll +# author: Romain Forlot # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -17,13 +17,4 @@ ########################################################################### # Add target to project dependency list -fill_include_dir(${CMAKE_CURRENT_SOURCE_DIR}) -file(GLOB filelist "${CMAKE_CURRENT_SOURCE_DIR}/*") -foreach(filename ${filelist}) - if(IS_DIRECTORY ${filename}) - STRING(REGEX REPLACE "^.*\/(.*)$" "\\1" shortname ${filename}) - find_source_files(${filename}) - PROJECT_TARGET_ADD(${shortname}) - add_library(${shortname} STATIC ${sources_files}) - endif(IS_DIRECTORY ${filename}) -endforeach() \ No newline at end of file +project_subdirs_add()