Update README.md

cmake failed from build dir on target dir using .. - from build dir, CMakeLists.txt is actually in ../..
This commit is contained in:
traderggl 2018-04-28 17:43:27 -07:00 committed by GitHub
parent 124ae47600
commit 5e39d3df21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ cd build
3. Run CMake. The basic syntax is:
```
cmake [-G generator] [-DBUILD_SHARED_LIBS=ON|OFF] ..
cmake [-G generator] [-DBUILD_SHARED_LIBS=ON|OFF] ../..
```
* The `generator` is whatever type of build system you'd like to use. To see a full list of generators on your platform, just run `cmake` (with no arguments). For example: