Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 73217a7

Browse files
Remove kludge to allow cmake to find Dpctl package
1 parent 3cd8dc6 commit 73217a7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

kde_skbuild/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,11 @@ cmake_minimum_required(VERSION 3.22...3.27 FATAL_ERROR)
22

33
project(oneapi_kde_skbuild VERSION 0.1 LANGUAGES C CXX DESCRIPTION "Example of DPC++-based Python extension")
44

5-
if (NOT DEFINED DPCTL_MODULE_PATH)
6-
if (DEFINED ENV{DPCTL_MODULE_PATH})
7-
set(DPCTL_MODULE_PATH $ENV{DPCTL_MODULE_PATH})
8-
else ()
9-
message(FATAL_ERROR "Specify DPCTL_MODULE_PATH, either via cmake or as environment varibale")
10-
endif()
11-
endif()
12-
13-
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${DPCTL_MODULE_PATH})
145
find_package(IntelSYCL REQUIRED)
156

167
set(CMAKE_CXX_STANDARD 17)
178
set(CMAKE_CXX_STANDARD_REQUIRED True)
189

19-
2010
# Define CMAKE_INSTALL_xxx: LIBDIR, INCLUDEDIR
2111
include(GNUInstallDirs)
2212

0 commit comments

Comments
 (0)