Skip to content

Commit 13fe5ab

Browse files
removed USING_ONEAPI_DPCPP in FindIntelSycl.cmake as it is unused
1 parent 5bcee1c commit 13fe5ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

dpctl-capi/cmake/modules/FindIntelSycl.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ include(FindPackageHandleStandardArgs)
3838
# IntelSycl_ROOT to that path.
3939
if(DPCTL_DPCPP_HOME_DIR)
4040
set(IntelSycl_ROOT ${DPCTL_DPCPP_HOME_DIR})
41-
set(USING_ONEAPI_DPCPP False)
4241
message(STATUS "Not using standard oneAPI installation, but IntelSycl at " ${IntelSycl_ROOT})
4342
# If DPC++ installation was not specified, check for ONEAPI_ROOT
4443
elseif(DEFINED ENV{ONEAPI_ROOT})
@@ -49,7 +48,6 @@ elseif(DEFINED ENV{ONEAPI_ROOT})
4948
else()
5049
message(FATAL_ERROR "Unsupported system.")
5150
endif()
52-
set(USING_ONEAPI_DPCPP True)
5351
else()
5452
message(FATAL_ERROR,
5553
"Could not locate a DPC++ installation. Either pass the path to a "

0 commit comments

Comments
 (0)