From 59e50d99a60b93ee6311a25ee61e68c1300698c5 Mon Sep 17 00:00:00 2001 From: MikePopoloski Date: Sat, 29 Apr 2023 11:25:38 -0400 Subject: [PATCH] Mark boost headers as system includes --- cmake/FetchBoostContent.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/FetchBoostContent.cmake b/cmake/FetchBoostContent.cmake index a6c5c2ec6..07446f917 100644 --- a/cmake/FetchBoostContent.cmake +++ b/cmake/FetchBoostContent.cmake @@ -830,7 +830,8 @@ function(FetchBoostContent_MakeAvailable contentName) get_target_property(boost_headers_imported boost_headers IMPORTED) if(NOT boost_headers_imported) target_include_directories( - boost_headers INTERFACE "$") + boost_headers SYSTEM + INTERFACE "$") set_property( TARGET boost_headers APPEND