Skip to content

Commit

Permalink
Changes to suppress `comparison is always true due to limited range o…
Browse files Browse the repository at this point in the history
…f data type` error coming from nlohmann_json in arm64 linux builds.
  • Loading branch information
StephenCzarnecki committed Oct 29, 2024
1 parent 6dfce87 commit 0518b5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ if (MSVC)
target_compile_options(${LIB_NAME} PRIVATE /W4 /WX)
endif()

if (CMAKE_COMPILER_IS_GNUCC)
target_compile_options(nlohmann_json::nlohmann_json INTERFACE -Wno-type-limits)
endif()


target_compile_features(${LIB_NAME} PRIVATE cxx_std_17)

0 comments on commit 0518b5f

Please sign in to comment.