Skip to content

Commit 2df9735

Browse files
oleksandr-pavlykDiptorup Deb
authored and
Diptorup Deb
committed
Fixed typo in processing of custom DPCPP installation
1 parent 6d8a3d6 commit 2df9735

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpctl-capi/cmake/modules/FindIntelSycl.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ include(FindPackageHandleStandardArgs)
3737
# Check if a specific DPC++ installation directory was provided then set
3838
# IntelSycl_ROOT to that path.
3939
if(DPCTL_CUSTOM_DPCPP_INSTALL_DIR)
40-
set(IntelSycl_ROOT ${DPCTL_CUSTOM_IntelSycl_INSTALL_DIR})
40+
set(IntelSycl_ROOT ${DPCTL_CUSTOM_DPCPP_INSTALL_DIR})
4141
set(USING_ONEAPI_DPCPP False)
42+
message(STATUS "Not using oneAPI, but IntelSycl at " ${IntelSycl_ROOT})
4243
# If DPC++ installation was not specified, check for ONEAPI_ROOT
4344
elseif(DEFINED ENV{ONEAPI_ROOT})
4445
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")

0 commit comments

Comments
 (0)