Skip to content

Conversation

@dean0x7d
Copy link
Member

@dean0x7d dean0x7d commented Jan 4, 2017

See #587. This makes it possible to use a non-CACHE variable. For example:

set(PYBIND11_PYTHON_VERSION <value>)
add_subdirectory(pybind11)

This also improves consistency with find_package(pybind11) since it already accepts a regular variable.

This way a non-CACHE variable can also be used. For example:
```
set(PYBIND11_PYTHON_VERSION <value>)
add_subdirectory(...)
```
@wjakob
Copy link
Member

wjakob commented Jan 6, 2017

Great, thank you!

@wjakob wjakob merged commit 5b5e3de into pybind:master Jan 6, 2017
@dean0x7d dean0x7d deleted the cmake branch January 7, 2017 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants