summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/Macros.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2017-08-15 17:40:26 +0200
committermanuel <manuel@mausz.at>2017-08-15 17:40:26 +0200
commit86b22151f0758311fd146ff508e7254337414bc1 (patch)
treefdd6ca46ba57b7f063740541c034ce60c7cdd0c5 /cmake/scripts/common/Macros.cmake
parent4c3251ec645c8b71820dab7e51e612e5919d4e75 (diff)
downloadkodi-pvr-build-86b22151f0758311fd146ff508e7254337414bc1.tar.gz
kodi-pvr-build-86b22151f0758311fd146ff508e7254337414bc1.tar.bz2
kodi-pvr-build-86b22151f0758311fd146ff508e7254337414bc1.zip
sync with upstream
Diffstat (limited to 'cmake/scripts/common/Macros.cmake')
-rw-r--r--cmake/scripts/common/Macros.cmake4
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)
92endfunction() 96endfunction()
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