mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
properly handle includes when IGC__IGC_TARGETS is defined
Change-Id: I518a33ae97950467965126e55bc93e644e439934 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
@ -237,6 +237,12 @@ if(NOT IGC__IGC_TARGETS)
|
||||
else()
|
||||
message(FATAL_ERROR "Intel Graphics Compiler not found!")
|
||||
endif()
|
||||
else()
|
||||
set(IGDRCL__IGC_TARGETS "${IGC__IGC_TARGETS}")
|
||||
foreach(TARGET_tmp ${IGDRCL__IGC_TARGETS})
|
||||
list(APPEND IGDRCL__IGC_INCLUDE_DIR $<TARGET_PROPERTY:${TARGET_tmp},INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
endforeach(TARGET_tmp)
|
||||
message(STATUS "IGC targets: ${IGDRCL__IGC_TARGETS}")
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
|
Reference in New Issue
Block a user