diff options
author | Christian Parpart <christian@ethereum.org> | 2018-07-27 15:41:05 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-07-27 15:41:05 +0800 |
commit | 4c5ea498817e4cd08c7d23749e14b78b9c1ef225 (patch) | |
tree | 6e7a9e9d116d2bffbf792409db80455e90b9d6de | |
parent | 61b94b7ea4b4a1120649d12193b1ce1f5ade0aa8 (diff) | |
download | dexon-solidity-4c5ea498817e4cd08c7d23749e14b78b9c1ef225.tar.gz dexon-solidity-4c5ea498817e4cd08c7d23749e14b78b9c1ef225.tar.zst dexon-solidity-4c5ea498817e4cd08c7d23749e14b78b9c1ef225.zip |
Fixes building Solidity when base directory contains spaces.
closes #4521
-rw-r--r-- | cmake/EthBuildInfo.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/EthBuildInfo.cmake b/cmake/EthBuildInfo.cmake index cae3e5ce..b87d29f5 100644 --- a/cmake/EthBuildInfo.cmake +++ b/cmake/EthBuildInfo.cmake @@ -31,7 +31,7 @@ function(create_build_info NAME) # Generate header file containing useful build information add_custom_target(${NAME}_BuildInfo.h ALL WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} - COMMAND ${CMAKE_COMMAND} -DETH_SOURCE_DIR="${PROJECT_SOURCE_DIR}" -DETH_BUILDINFO_IN="${ETH_CMAKE_DIR}/templates/BuildInfo.h.in" -DETH_DST_DIR="${PROJECT_BINARY_DIR}/include/${PROJECT_NAME}" -DETH_CMAKE_DIR="${ETH_CMAKE_DIR}" + COMMAND ${CMAKE_COMMAND} -DETH_SOURCE_DIR=${PROJECT_SOURCE_DIR} -DETH_BUILDINFO_IN=${ETH_CMAKE_DIR}/templates/BuildInfo.h.in -DETH_DST_DIR=${PROJECT_BINARY_DIR}/include/${PROJECT_NAME} -DETH_CMAKE_DIR=${ETH_CMAKE_DIR} -DETH_BUILD_TYPE="${_cmake_build_type}" -DETH_BUILD_OS="${ETH_BUILD_OS}" -DETH_BUILD_COMPILER="${ETH_BUILD_COMPILER}" |