add SYSTEM
to add_subdirectory
calls for bundled libraries
#2328
Labels
SYSTEM
to add_subdirectory
calls for bundled libraries
#2328
CMake 3.25 introduces
SYSTEM
argument toadd_subdirectory
. Use that for all our bundled libraries to have them included with-isystem
rather than-I
.https://cmake.org/cmake/help/latest/command/add_subdirectory.html
Tagging this with
c++20
because we currently havecmake_minimum_required
3.23. We should be able to bump CMake requirements along with adopting new standard.The text was updated successfully, but these errors were encountered: