X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=libs%2FCMakeLists.txt;h=995c4e775dd353ebe4451814b3ec639a8885a68d;hb=ce692241aed98a45da6c830686bd42ceef29ef6b;hp=cd29ea838e4a6655e74f907c7c0f1172e217bd50;hpb=044ef27d3667a114964549f89c63ab1ea6655877;p=apps%2Fagl-service-can-low-level.git diff --git a/libs/CMakeLists.txt b/libs/CMakeLists.txt index cd29ea83..995c4e77 100644 --- a/libs/CMakeLists.txt +++ b/libs/CMakeLists.txt @@ -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() \ No newline at end of file