mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix instrumentation handling in cmake
some set() statements were constructed incorrectly. we shouldn't dereference variable when setting its value Change-Id: Idc9d60fa87a4364f2b2583d21d53cc0b6f5560d9
This commit is contained in:
committed by
sys_ocldev
parent
099d6e5f74
commit
333af8349e
@@ -508,10 +508,10 @@ include_directories(${IGDRCL_SOURCE_DIR}/runtime/gmm_helper/${BRANCH_DIR_SUFFIX}
|
||||
set(HW_SRC_INCLUDE_PATH ${IGDRCL_SOURCE_DIR}/runtime/gen_common)
|
||||
|
||||
if(HAVE_INSTRUMENTATION)
|
||||
set(${IGDRCL__INSTRUMENTATION_DIR_SUFFIX} ${BRANCH_DIR_SUFFIX})
|
||||
set(IGDRCL__INSTRUMENTATION_DIR_SUFFIX ${BRANCH_DIR_SUFFIX})
|
||||
include_directories($<TARGET_PROPERTY:instrumentation_umd,INTERFACE_INCLUDE_DIRECTORIES>)
|
||||
else()
|
||||
set(${IGDRCL__INSTRUMENTATION_DIR_SUFFIX} "/")
|
||||
set(IGDRCL__INSTRUMENTATION_DIR_SUFFIX "/")
|
||||
endif()
|
||||
include_directories(${IGDRCL_SOURCE_DIR}/runtime/instrumentation${IGDRCL__INSTRUMENTATION_DIR_SUFFIX})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user