mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
Add cmake macro to append sources from properties
Change-Id: I06771c56ebca2e7a0dc5b65d6ea53aca95a70797 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
4b0d1c93ea
commit
bccfa1df38
@@ -52,10 +52,6 @@ set(RUNTIME_SRCS_OS_INTERFACE_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/performance_counters_linux.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/print.cpp
|
||||
)
|
||||
|
||||
get_property(NEO_CORE_OS_INTERFACE_LINUX GLOBAL PROPERTY NEO_CORE_OS_INTERFACE_LINUX)
|
||||
list(APPEND RUNTIME_SRCS_OS_INTERFACE_LINUX ${NEO_CORE_OS_INTERFACE_LINUX})
|
||||
|
||||
if(UNIX)
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_OS_INTERFACE_LINUX})
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user