mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Link device binary format files to shared lib
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b04cd08cc8
commit
1dcbbfa21d
@@ -10,9 +10,7 @@ set(RUNTIME_SRCS_COMPILER_INTERFACE
|
||||
)
|
||||
|
||||
get_property(NEO_COMPILER_INTERFACE GLOBAL PROPERTY NEO_COMPILER_INTERFACE)
|
||||
get_property(NEO_DEVICE_BINARY_FORMAT GLOBAL PROPERTY NEO_DEVICE_BINARY_FORMAT)
|
||||
list(APPEND RUNTIME_SRCS_COMPILER_INTERFACE ${NEO_COMPILER_INTERFACE})
|
||||
list(APPEND RUNTIME_SRCS_COMPILER_INTERFACE ${NEO_DEVICE_BINARY_FORMAT})
|
||||
|
||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_COMPILER_INTERFACE})
|
||||
set_property(GLOBAL PROPERTY RUNTIME_SRCS_COMPILER_INTERFACE ${RUNTIME_SRCS_COMPILER_INTERFACE})
|
||||
|
||||
@@ -119,6 +119,7 @@ append_sources_from_properties(CORE_SOURCES
|
||||
NEO_CORE_SRCS_SOURCE_LEVEL_DEBUGGER
|
||||
NEO_CORE_TBX
|
||||
NEO_CORE_UTILITIES
|
||||
NEO_DEVICE_BINARY_FORMAT
|
||||
NEO_UNIFIED_MEMORY
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user