File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ matplotlib-cpp works by wrapping the popular python plotting library matplotlib.
98
98
This means you have to have a working python installation, including development headers.
99
99
On Ubuntu:
100
100
101
- sudo aptitude install python-matplotlib python-numpy python2.7-dev
101
+ sudo apt-get install python-matplotlib python-numpy python2.7-dev
102
102
103
103
If, for some reason, you're unable to get a working installation of numpy on your system,
104
104
you can add the define ` WITHOUT_NUMPY ` to erase this dependency.
@@ -115,8 +115,8 @@ If you prefer to use CMake as build system, you will want to add something like
115
115
CMakeLists.txt:
116
116
117
117
find_package(PythonLibs 2.7)
118
- target_include_directories(myproject ${PYTHON_INCLUDE_DIRS})
119
- target_link_libraries(myproject ${PYTHON_LIBRARIES)
118
+ target_include_directories(myproject PRIVATE ${PYTHON_INCLUDE_DIRS})
119
+ target_link_libraries(myproject ${PYTHON_LIBRARIES} )
120
120
121
121
# Python 3
122
122
You can’t perform that action at this time.
0 commit comments