From 86b22151f0758311fd146ff508e7254337414bc1 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 15 Aug 2017 17:40:26 +0200 Subject: sync with upstream --- cmake/scripts/common/Macros.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake/scripts/common/Macros.cmake') diff --git a/cmake/scripts/common/Macros.cmake b/cmake/scripts/common/Macros.cmake index 8bee3da..09c9c36 100644 --- a/cmake/scripts/common/Macros.cmake +++ b/cmake/scripts/common/Macros.cmake @@ -89,6 +89,10 @@ function(core_add_library name) target_sources(lib${APP_NAME_LC} PRIVATE ${FILES}) set(CORE_LIBRARY lib${APP_NAME_LC} PARENT_SCOPE) endif() + foreach(src ${SOURCES}) + list(APPEND sca_sources ${CMAKE_CURRENT_SOURCE_DIR}/${src}) + endforeach() + set(sca_sources ${sca_sources} CACHE STRING "" FORCE) endfunction() # Add a test library, and add sources to list for gtest integration macros -- cgit v1.2.3