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 2ce9760 commit 598aa8eCopy full SHA for 598aa8e
README.md
@@ -109,6 +109,15 @@ anywhere.
109
Since a python interpreter is opened internally, it is necessary to link against `libpython2.7` in order to use
110
matplotlib-cpp.
111
112
+# CMake
113
+
114
+If you prefer to use CMake as build system, you will want to add something like this to your
115
+CMakeLists.txt:
116
117
+ find_package(PythonLibs 2.7)
118
+ target_include_directories(myproject ${PYTHON_INCLUDE_DIRS})
119
+ target_link_libraries(myproject ${PYTHON_LIBRARIES)
120
121
# Python 3
122
123
This library supports both python2 and python3 (although the python3 support is probably far less tested,
0 commit comments