You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -211,6 +211,21 @@ matplotlib-cpp.
211
211
212
212
If you prefer to use CMake as build system, you will want to add something like this to your
213
213
CMakeLists.txt:
214
+
215
+
**Recommended way(since CMake 3.12):**
216
+
217
+
It's easy to use cmake official [docs](https://cmake.org/cmake/help/git-stage/module/FindPython2.html#module:FindPython2) to find Python 2(or 3) interpreter, compiler and development environment (include directories and libr
850C
aries).
218
+
219
+
NumPy is optional here, delete it from cmake script, if you don't need it.
220
+
221
+
```cmake
222
+
find_package(Python2 COMPONENTS Development NumPy)
0 commit comments