mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
Fix for including CMake in another project
Change-Id: I1462a4bab8cd5fbf9f529e4ccc355000b10ed026
This commit is contained in:
@@ -62,7 +62,7 @@ message(STATUS "${CMAKE_BUILD_TYPE} build configuration")
|
||||
|
||||
# Set the runtime source directory
|
||||
if(NOT DEFINED IGDRCL_SOURCE_DIR)
|
||||
set(IGDRCL_SOURCE_DIR ${CMAKE_SOURCE_DIR})
|
||||
set(IGDRCL_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
# Set our build directory
|
||||
|
||||
Reference in New Issue
Block a user