Add version string to command line arguments

This commit is contained in:
Jeffrey Pfau 2014-10-18 01:06:29 -07:00
parent 1fcca799eb
commit 13a831d3b0

View File

@ -74,7 +74,7 @@ elseif(BUILD_PGO AND PGO_STAGE_2)
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${PGO_POST_FLAGS}")
endif()
add_definitions(-DBINARY_NAME="${BINARY_NAME}" -DPROJECT_NAME="${PROJECT_NAME}")
add_definitions(-DBINARY_NAME="${BINARY_NAME}" -DPROJECT_NAME="${PROJECT_NAME}" -DPROJECT_VERSION="${LIB_VERSION_STRING}")
# Feature dependencies
find_feature(USE_CLI_DEBUGGER "libedit")