X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=libs%2FCMakeLists.txt;h=6a16d32fc42d487a131036aa0dbfa08bbca98d3d;hb=94e5f493282c2a399d8ad2471604f50975560fc0;hp=30948abe76e0a4bf48da71ed6e16c43234edb1da;hpb=39c3509aa25259db4f75805a1d1da3ab78ce6c88;p=apps%2Fagl-service-can-low-level.git diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index 30948abe..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,15 +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()