File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212
1313### Changed
1414
15+ * Silenced ` pybind11 ` CMake message due to using compatibility mode for Python [ #2614 ] ( https://github.com/IntelPython/dpnp/pull/2614 )
16+
1517### Deprecated
1618
1719### Removed
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ endif()
4949
5050include (GNUInstallDirs)
5151
52+ # find Python before enabling pybind11
53+ find_package (Python REQUIRED COMPONENTS Development.Module NumPy)
54+
5255# Fetch pybind11
5356include (FetchContent)
5457FetchContent_Declare(
@@ -59,8 +62,6 @@ FetchContent_Declare(
5962)
6063FetchContent_MakeAvailable(pybind11)
6164
62- find_package (Python REQUIRED COMPONENTS Development.Module NumPy)
63-
6465set (CYTHON_FLAGS "-t -w \" ${CMAKE_SOURCE_DIR} \" " )
6566find_package (Cython REQUIRED)
6667
You can’t perform that action at this time.
0 commit comments