mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixes building Solidity when base directory contains spaces.
closes #4521
This commit is contained in:
parent
61b94b7ea4
commit
4c5ea49881
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user