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 @@ -93,10 +93,10 @@ elseif(SYCL_PI_UR_SOURCE_DIR)
93
93
else ()
94
94
# SYCL_PI_UR_USE_FETCH_CONTENT is OFF and SYCL_PI_UR_SOURCE_DIR has not been
95
95
# set, check if the fallback local directory exists.
96
- if (NOT ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime )
96
+ if (NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime )
97
97
message (FATAL_ERROR
98
- "SYCL_PI_UR_USE_FETCH_CONTENT is disabled but no alternative Unified
99
- Runtime source directory has be proivided , either:
98
+ "SYCL_PI_UR_USE_FETCH_CONTENT is disabled but no alternative Unified \
99
+ Runtime source directory has been provided , either:
100
100
101
101
* Set -DSYCL_PI_UR_SOURCE_DIR=/path/to/unified-runtime
102
102
* Clone the UR repo in ${CMAKE_CURRENT_SOURCE_DIR} /unified-runtime" )
You can’t perform that action at this time.
0 commit comments