diff options
author | chriseth <c@ethdev.com> | 2016-08-23 22:04:50 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-08-26 16:14:44 +0800 |
commit | 54ab787b83275fd374b3951ec3efa577c954bd1a (patch) | |
tree | 7a8d2e225d8dcf05f070d8223a61bc23efc1872e /cmake/EthBuildInfo.cmake | |
parent | d209e65b1d9ce3f49821970e96e027ba5243e386 (diff) | |
download | dexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.tar.gz dexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.tar.zst dexon-solidity-54ab787b83275fd374b3951ec3efa577c954bd1a.zip |
Make versioning semver compatible and force commit hash availability.
Diffstat (limited to 'cmake/EthBuildInfo.cmake')
-rw-r--r-- | cmake/EthBuildInfo.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/EthBuildInfo.cmake b/cmake/EthBuildInfo.cmake index cbb9dd24..1f70d371 100644 --- a/cmake/EthBuildInfo.cmake +++ b/cmake/EthBuildInfo.cmake @@ -19,7 +19,7 @@ function(create_build_info NAME) set(ETH_BUILD_COMPILER "unknown") endif () - set(ETH_BUILD_PLATFORM "${ETH_BUILD_OS}/${ETH_BUILD_COMPILER}") + set(ETH_BUILD_PLATFORM "${ETH_BUILD_OS}.${ETH_BUILD_COMPILER}") #cmake build type may be not speCified when using msvc if (CMAKE_BUILD_TYPE) @@ -36,8 +36,6 @@ function(create_build_info NAME) -DETH_BUILD_OS="${ETH_BUILD_OS}" -DETH_BUILD_COMPILER="${ETH_BUILD_COMPILER}" -DETH_BUILD_PLATFORM="${ETH_BUILD_PLATFORM}" - -DETH_BUILD_NUMBER="${BUILD_NUMBER}" - -DETH_VERSION_SUFFIX="${VERSION_SUFFIX}" -DPROJECT_VERSION="${PROJECT_VERSION}" -P "${ETH_SCRIPTS_DIR}/buildinfo.cmake" ) |