diff options
Diffstat (limited to 'CAN-binder/libs/CMakeLists.txt')
-rw-r--r-- | CAN-binder/libs/CMakeLists.txt | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/CAN-binder/libs/CMakeLists.txt b/CAN-binder/libs/CMakeLists.txt index 38ccd2d..cc4af55 100644 --- a/CAN-binder/libs/CMakeLists.txt +++ b/CAN-binder/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() +search_targets()
\ No newline at end of file |