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:
Artur Harasimiuk
2018-02-12 14:17:26 +01:00
committed by sys_ocldev
parent 099d6e5f74
commit 333af8349e

View File

@@ -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})