Skip to content

Commit

Permalink
Reduce required version of gcc to 4.8 per latest project README
Browse files Browse the repository at this point in the history
  • Loading branch information
headupinclouds committed Apr 25, 2019
1 parent 56762e6 commit bd050b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/projects/nlohmann_json/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ include(hunter_status_debug)

# See https://github.com/nlohmann/json#supported-compilers
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9")
hunter_report_broken_package("The nlohmann_json package requires GCC 4.9 or newer.")
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.8")
hunter_report_broken_package("The nlohmann_json package requires GCC 4.8 or newer.")
endif()
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "3.4")
Expand Down

0 comments on commit bd050b1

Please sign in to comment.