The third-party library Svgpp calls Boost in a way that is deprecated, resulting
in compiler warnings during the CMake build. This change teaches CMake that none
of this is our code and we do not want to be warned about it.
set_target_properties(test_common PROPERTIES CXX_STANDARD 20)
set_target_properties(test_common PROPERTIES CXX_STANDARD_REQUIRED ON)
target_include_directories(test_common PRIVATE
- ${Boost_INCLUDE_DIRS}
${GRAPHVIZ_LIB_DIR}
+)
+target_include_directories(test_common SYSTEM PRIVATE
+ ${Boost_INCLUDE_DIRS}
${RAPIDXML_INCLUDE_DIRS}
${SVGPP_INCLUDE_DIRS}
)