Skip to content

Commit

Permalink
Disable unknown system warning for "Generic"
Browse files Browse the repository at this point in the history
  • Loading branch information
nebkat committed Dec 5, 2023
1 parent 97452bb commit 7e89a49
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/ranges_env.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ elseif(CMAKE_SYSTEM_NAME MATCHES "Emscripten")
if (RANGES_VERBOSE_BUILD)
message(STATUS "[range-v3]: system is Emscripten.")
endif()
elseif(CMAKE_SYSTEM_NAME MATCHES "Generic")
set (RANGES_ENV_GENERIC TRUE)
if (RANGES_VERBOSE_BUILD)
message(STATUS "[range-v3]: system is Generic.")
endif()
else()
message(WARNING "[range-v3 warning]: unknown system ${CMAKE_SYSTEM_NAME} !")
endif()
Expand Down

0 comments on commit 7e89a49

Please sign in to comment.