From 333af8349eb0c453f4ca40432ee30e984424dd98 Mon Sep 17 00:00:00 2001 From: Artur Harasimiuk Date: Mon, 12 Feb 2018 14:17:26 +0100 Subject: [PATCH] fix instrumentation handling in cmake some set() statements were constructed incorrectly. we shouldn't dereference variable when setting its value Change-Id: Idc9d60fa87a4364f2b2583d21d53cc0b6f5560d9 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe63e2ab50..f41a801822 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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($) else() - set(${IGDRCL__INSTRUMENTATION_DIR_SUFFIX} "/") + set(IGDRCL__INSTRUMENTATION_DIR_SUFFIX "/") endif() include_directories(${IGDRCL_SOURCE_DIR}/runtime/instrumentation${IGDRCL__INSTRUMENTATION_DIR_SUFFIX})