mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
CMake error for big endian systems.
This commit is contained in:
parent
e7e700be38
commit
f21d5ab839
@ -13,6 +13,12 @@ eth_policy()
|
||||
set(PROJECT_VERSION "0.5.10")
|
||||
project(solidity VERSION ${PROJECT_VERSION} LANGUAGES CXX)
|
||||
|
||||
include(TestBigEndian)
|
||||
TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
|
||||
if (IS_BIG_ENDIAN)
|
||||
message(FATAL_ERROR "${PROJECT_NAME} currently does not support big endian systems.")
|
||||
endif()
|
||||
|
||||
option(LLL "Build LLL" OFF)
|
||||
option(SOLC_LINK_STATIC "Link solc executable statically on supported platforms" OFF)
|
||||
option(LLLC_LINK_STATIC "Link lllc executable statically on supported platforms" OFF)
|
||||
|
Loading…
Reference in New Issue
Block a user