Skip to content

Commit

Permalink
Mark fmt lib headers as system headers to suppress warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jul 10, 2024
1 parent a3cbaab commit acd1f9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
set(find_pkg_args "FIND_PACKAGE_ARGS" "${fmt_min_version}")
endif()

set(FMT_SYSTEM_HEADERS
ON
CACHE INTERNAL "")

FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
Expand Down

0 comments on commit acd1f9f

Please sign in to comment.