diff options
Diffstat (limited to 'cmake/scripts/common/Macros.cmake')
| -rw-r--r-- | cmake/scripts/common/Macros.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
| 89 | target_sources(lib${APP_NAME_LC} PRIVATE ${FILES}) | 89 | target_sources(lib${APP_NAME_LC} PRIVATE ${FILES}) |
| 90 | set(CORE_LIBRARY lib${APP_NAME_LC} PARENT_SCOPE) | 90 | set(CORE_LIBRARY lib${APP_NAME_LC} PARENT_SCOPE) |
| 91 | endif() | 91 | endif() |
| 92 | foreach(src ${SOURCES}) | ||
| 93 | list(APPEND sca_sources ${CMAKE_CURRENT_SOURCE_DIR}/${src}) | ||
| 94 | endforeach() | ||
| 95 | set(sca_sources ${sca_sources} CACHE STRING "" FORCE) | ||
| 92 | endfunction() | 96 | endfunction() |
| 93 | 97 | ||
| 94 | # Add a test library, and add sources to list for gtest integration macros | 98 | # Add a test library, and add sources to list for gtest integration macros |
