File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sycl/plugins/unified_runtime Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ elseif(SYCL_PI_UR_SOURCE_DIR)
96
96
else ()
97
97
# SYCL_PI_UR_USE_FETCH_CONTENT is OFF and SYCL_PI_UR_SOURCE_DIR has not been
98
98
# set, check if the fallback local directory exists.
99
- if (NOT ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime )
99
+ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime )
100
100
message (FATAL_ERROR
101
- "SYCL_PI_UR_USE_FETCH_CONTENT is disabled but no alternative Unified
102
- Runtime source directory has be proivided , either:
101
+ "SYCL_PI_UR_USE_FETCH_CONTENT is disabled but no alternative Unified \
102
+ Runtime source directory has been provided , either:
103
103
104
104
* Set -DSYCL_PI_UR_SOURCE_DIR=/path/to/unified-runtime
105
105
* Clone the UR repo in ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime" )
You can’t perform that action at this time.
0 commit comments