pybind11Tools.cmake
8.61 KB
-
add_module: allow include as SYSTEM (#1416) · 435dbdd1
pybind11 headers passed via the `pybind11_add_module` CMake function can now be included as `SYSTEM` includes (`-isystem`). This allows to set stricter (or experimental) warnings in calling projects that might throw otherwise in headers a user of pybind11 can not influence.
Axel Huebl committed