mirror of https://github.com/mgba-emu/mgba.git
Add version string to command line arguments
This commit is contained in:
parent
1fcca799eb
commit
13a831d3b0
|
@ -74,7 +74,7 @@ elseif(BUILD_PGO AND PGO_STAGE_2)
|
||||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${PGO_POST_FLAGS}")
|
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${PGO_POST_FLAGS}")
|
||||||
endif()
|
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
|
# Feature dependencies
|
||||||
find_feature(USE_CLI_DEBUGGER "libedit")
|
find_feature(USE_CLI_DEBUGGER "libedit")
|
||||||
|
|
Loading…
Reference in New Issue