mark the pybind11 headers SYSTEM to avoid (shadowing) warnings

This commit is contained in:
Arne Morten Kvarving 2020-05-14 11:12:15 +02:00
parent 5fcebcf4a7
commit c4be14c0da

View File

@ -1,4 +1,4 @@
pybind11_add_module(simulators simulators.cpp)
pybind11_add_module(simulators simulators.cpp SYSTEM)
set_target_properties( simulators PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/python/opm2 )