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.
2 parents cd0513f + 0e46b4b commit bf68438Copy full SHA for bf68438
CMakeLists.txt
@@ -114,6 +114,9 @@ install(DIRECTORY
114
FILES_MATCHING REGEX "\\.h(pp)?$"
115
)
116
117
+# find Python before enabling pybind11
118
+find_package(Python REQUIRED COMPONENTS Development.Module)
119
+
120
# Define CMAKE_INSTALL_xxx: LIBDIR, INCLUDEDIR
121
include(GNUInstallDirs)
122
dpctl/CMakeLists.txt
@@ -1,4 +1,4 @@
1
-find_package(Python REQUIRED COMPONENTS Development.Module NumPy)
+find_package(Python REQUIRED COMPONENTS NumPy)
2
3
# -t is to only Cythonize sources with timestamps newer than existing CXX files (if present)
4
# -w is to set working directory (and correctly set __pyx_f[] array of filenames)
0 commit comments