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