We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d005b2 commit 7a939c9Copy full SHA for 7a939c9
dpctl-capi/cmake/modules/FindIntelSycl.cmake
@@ -38,7 +38,12 @@ include(FindPackageHandleStandardArgs)
38
# IntelSycl_ROOT to that path.
39
if(DPCTL_DPCPP_HOME_DIR)
40
set(IntelSycl_ROOT ${DPCTL_DPCPP_HOME_DIR})
41
- message(STATUS "Not using standard oneAPI installation, but IntelSycl at " ${IntelSycl_ROOT})
+ if(NOT DPCTL_DPCPP_FROM_ONEAPI)
42
+ message(STATUS
43
+ "Not using standard oneAPI installation, but IntelSycl at "
44
+ ${IntelSycl_ROOT}
45
+ )
46
+ endif()
47
# If DPC++ installation was not specified, check for ONEAPI_ROOT
48
elseif(DEFINED ENV{ONEAPI_ROOT})
49
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
0 commit comments