forked from XRPLF/clio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update readme and compiler requirements (XRPLF#815)
- Loading branch information
Showing
2 changed files
with
56 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12) | ||
message(FATAL_ERROR "Clang 12+ required for building clio") | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14) | ||
message(FATAL_ERROR "Clang 14+ required for building clio") | ||
endif() | ||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang") | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12) | ||
message(FATAL_ERROR "AppleClang 12+ required for building clio") | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 14) | ||
message(FATAL_ERROR "AppleClang 14+ required for building clio") | ||
endif() | ||
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") | ||
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS 11) | ||
message(FATAL_ERROR "GCC 11+ required for building clio") | ||
endif() | ||
else() | ||
message(FATAL_ERROR "Supported compilers: AppleClang 12+, Clang 12+, GCC 11+") | ||
message(FATAL_ERROR "Supported compilers: AppleClang 14+, Clang 14+, GCC 11+") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters