| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| clang @ 6a00cbc4 | ||
| FindCatch.cmake | ||
| FindEigen3.cmake | ||
| FindPythonLibsNew.cmake | ||
| check-style.sh | ||
| libsize.py | ||
| mkdoc.py | ||
| pybind11Config.cmake.in | ||
| pybind11Tools.cmake |
Currently select_cxx_standard(), which sets PYBIND11_CPP_STANDARD when
not externally set, is only called from pybind11_add_module(), but the
embed target setup (which runs unconditionally) makes use of
${PYBIND11_CPP_STANDARD}, which isn't set yet. This commit removes the
`select_cxx_standard` function completely and just always runs the
standard detection code.
This also tweaks the detection code to not bothering checking for the
`-std=c++11` flag when the `-std=c++14` detection succeeded.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| clang @ 6a00cbc4 | ||
| FindCatch.cmake | Loading commit data... | |
| FindEigen3.cmake | Loading commit data... | |
| FindPythonLibsNew.cmake | Loading commit data... | |
| check-style.sh | Loading commit data... | |
| libsize.py | Loading commit data... | |
| mkdoc.py | Loading commit data... | |
| pybind11Config.cmake.in | Loading commit data... | |
| pybind11Tools.cmake | Loading commit data... |