浏览代码

Updated wording in README.

Benno Evers 5 年之前
父节点
当前提交
7219c6187f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -212,7 +212,7 @@ matplotlib-cpp.
 If you prefer to use CMake as build system, you will want to add something like this to your
 If you prefer to use CMake as build system, you will want to add something like this to your
 CMakeLists.txt:
 CMakeLists.txt:
 
 
-**Recommended way(since CMake 3.12):**
+**Recommended way (since CMake 3.12):**
 
 
 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).
 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).
 
 
@@ -224,7 +224,7 @@ target_include_directories(myproject PRIVATE ${Python2_INCLUDE_DIRS} ${Python2_N
 target_link_libraries(myproject Python2::Python Python2::NumPy)
 target_link_libraries(myproject Python2::Python Python2::NumPy)
 ```
 ```
 
 
-**Legacy way(unrecommended):**
+**Alternative way (for CMake <= 3.11):**
 
 
 ```cmake
 ```cmake
 find_package(PythonLibs 2.7)
 find_package(PythonLibs 2.7)