Open cz4rs opened 1 month ago
CMake 3.25 introduces SYSTEM argument to add_subdirectory. Use that for all our bundled libraries to have them included with -isystem rather than -I.
SYSTEM
add_subdirectory
-isystem
-I
https://cmake.org/cmake/help/latest/command/add_subdirectory.html
Tagging this with c++20 because we currently have cmake_minimum_required 3.23. We should be able to bump CMake requirements along with adopting new standard.
c++20
cmake_minimum_required
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.