Skip to content

Commit

Permalink
Update README_cmake.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruv13J committed Mar 21, 2014
1 parent 5a30bd5 commit 9e2beb7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/md/README_cmake.md
Expand Up @@ -79,4 +79,10 @@ or, in general:
$ cmake -DPYTHON_INCLUDE_DIR=/path/to/python/include/dir -DPYTHON_LIBRARY=path/to/python/libpythonVERSION.so ..
```

* Under Linux, one may need to switch between different versions of Python, in which case the following options need to be included: `-DPYTHON_EXECUTABLE:FILEPATH=/path/to/python/version` and `-DPYTHON_INCLUDE_DIR=/path/to/dist-packages`
* Under Linux, one may need to switch between different versions of Python, in which case the following options need to be included: `-DPYTHON_EXECUTABLE:FILEPATH=/path/to/python/version`, `-DPYTHON_INCLUDE_DIR=/path/to/includes` and `-DPYTHON_PACKAGES_PATH=/path/to/dist/packages`

For example:

```
cmake -DPYTHON_INCLUDE_DIR=/usr/include/python3.3 -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_PACKAGES_PATH=/usr/local/lib/python3.3/dist-packages -DPythonModular=ON ..
```

0 comments on commit 9e2beb7

Please sign in to comment.