|
|
@ -88,7 +88,7 @@ function(createBuildInfo) |
|
|
|
# Generate header file containing useful build information |
|
|
|
add_custom_target(BuildInfo.h ALL |
|
|
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
|
|
|
COMMAND cmake -DETH_SOURCE_DIR="${CMAKE_SOURCE_DIR}" -DETH_DST_DIR="${CMAKE_BINARY_DIR}" |
|
|
|
COMMAND ${CMAKE_COMMAND} -DETH_SOURCE_DIR="${CMAKE_SOURCE_DIR}" -DETH_DST_DIR="${CMAKE_BINARY_DIR}" |
|
|
|
-DETH_BUILD_TYPE="${_cmake_build_type}" -DETH_BUILD_PLATFORM="${ETH_BUILD_PLATFORM}" |
|
|
|
-P "${ETH_SCRIPTS_DIR}/buildinfo.cmake" |
|
|
|
) |
|
|
|