Skip to content

Commit

Permalink
Merge pull request #2058 from dhruv13J/patch-1
Browse files Browse the repository at this point in the history
Update README_cmake.md
  • Loading branch information
iglesias committed Mar 21, 2014
2 parents 1f24f77 + 9e2beb7 commit 33419a6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/md/README_cmake.md
Expand Up @@ -78,3 +78,11 @@ 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`, `-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 33419a6

Please sign in to comment.