Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7219c61

Browse files
author
Benno Evers
committed
Updated wording in README.
1 parent 61da78f commit 7219c61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ matplotlib-cpp.
212212
If you prefer to use CMake as build system, you will want to add something like this to your
213213
CMakeLists.txt:
214214

215-
**Recommended way(since CMake 3.12):**
215+
**Recommended way (since CMake 3.12):**
216216

217217
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 libraries).
218218

@@ -224,7 +224,7 @@ target_include_directories(myproject PRIVATE ${Python2_INCLUDE_DIRS} ${Python2_N
224224
target_link_libraries(myproject Python2::Python Python2::NumPy)
225225
```
226226

227-
**Legacy way(unrecommended):**
227+
**Alternative way (for CMake <= 3.11):**
228228

229229
```cmake
230230
find_package(PythonLibs 2.7)

0 commit comments

Comments
 (0)