aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-27 20:00:58 +0800
committerGitHub <noreply@github.com>2018-07-27 20:00:58 +0800
commitbc51b0f6c257e8abc47a7375a6397e1310e8d298 (patch)
tree6e7a9e9d116d2bffbf792409db80455e90b9d6de
parent61b94b7ea4b4a1120649d12193b1ce1f5ade0aa8 (diff)
parent4c5ea498817e4cd08c7d23749e14b78b9c1ef225 (diff)
downloaddexon-solidity-bc51b0f6c257e8abc47a7375a6397e1310e8d298.tar.gz
dexon-solidity-bc51b0f6c257e8abc47a7375a6397e1310e8d298.tar.zst
dexon-solidity-bc51b0f6c257e8abc47a7375a6397e1310e8d298.zip
Merge pull request #4594 from ethereum/fix-build-for-paths-with-spaces
Fixes building Solidity when base directory contains spaces.
-rw-r--r--cmake/EthBuildInfo.cmake2
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}"