mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
1ecbb5464b
commit
79e7a51908
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018 Intel Corporation
|
||||
# Copyright (C) 2018-2019 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@ -8,8 +8,8 @@ if(UNIX)
|
||||
if(NOT DEFINED NEO_DRIVER_VERSION)
|
||||
find_program(GIT NAMES git)
|
||||
if(NOT "${GIT}" STREQUAL "GIT-NOTFOUND")
|
||||
if(IS_DIRECTORY ${IGDRCL_SOURCE_DIR}/.git)
|
||||
set(GIT_arg --git-dir=${IGDRCL_SOURCE_DIR}/.git show -s --format=%ct)
|
||||
if(IS_DIRECTORY ${NEO_SOURCE_DIR}/.git)
|
||||
set(GIT_arg --git-dir=${NEO_SOURCE_DIR}/.git show -s --format=%ct)
|
||||
execute_process(
|
||||
COMMAND ${GIT} ${GIT_arg}
|
||||
OUTPUT_VARIABLE GIT_output
|
||||
|
Reference in New Issue
Block a user