File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.
9898This means you have to have a working python installation, including development headers.
9999On Ubuntu:
100100
101- sudo aptitude install python-matplotlib python-numpy python2.7-dev
101+ sudo apt-get install python-matplotlib python-numpy python2.7-dev
102102
103103If, for some reason, you're unable to get a working installation of numpy on your system,
104104you 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
115115CMakeLists.txt:
116116
117117 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} )
120120
121121# Python 3
122122
You can’t perform that action at this time.
0 commit comments