Skip to content

Commit

Permalink
Mark boost headers as system includes
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Apr 29, 2023
1 parent c7dfd22 commit 59e50d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/FetchBoostContent.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$<BUILD_INTERFACE:${src_dir}/include/>")
boost_headers SYSTEM
INTERFACE "$<BUILD_INTERFACE:${src_dir}/include/>")
set_property(
TARGET boost_headers
APPEND
Expand Down

0 comments on commit 59e50d9

Please sign in to comment.