mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
acd334c9d2
@ -8,7 +8,7 @@ include(EthPolicy)
|
|||||||
eth_policy()
|
eth_policy()
|
||||||
|
|
||||||
# project name and version should be set after cmake_policy CMP0048
|
# project name and version should be set after cmake_policy CMP0048
|
||||||
set(PROJECT_VERSION "0.3.6")
|
set(PROJECT_VERSION "0.4.0")
|
||||||
project(solidity VERSION ${PROJECT_VERSION})
|
project(solidity VERSION ${PROJECT_VERSION})
|
||||||
|
|
||||||
# Let's find our dependencies
|
# Let's find our dependencies
|
||||||
|
@ -23,7 +23,7 @@ endif()
|
|||||||
# If it does not exist, create our own prerelease string
|
# If it does not exist, create our own prerelease string
|
||||||
if (EXISTS ${ETH_SOURCE_DIR}/prerelease.txt)
|
if (EXISTS ${ETH_SOURCE_DIR}/prerelease.txt)
|
||||||
file(READ ${ETH_SOURCE_DIR}/prerelease.txt SOL_VERSION_PRERELEASE)
|
file(READ ${ETH_SOURCE_DIR}/prerelease.txt SOL_VERSION_PRERELEASE)
|
||||||
string(STRIP ${SOL_VERSION_PRERELEASE} SOL_VERSION_PRERELEASE)
|
string(STRIP "${SOL_VERSION_PRERELEASE}" SOL_VERSION_PRERELEASE)
|
||||||
else()
|
else()
|
||||||
string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC)
|
string(TIMESTAMP SOL_VERSION_PRERELEASE "develop.%Y.%m.%d" UTC)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user