mirror of https://github.com/mgba-emu/mgba.git
All: Add CPack variables
This commit is contained in:
parent
5a9cf99249
commit
9a61475229
|
@ -210,6 +210,16 @@ if(BUILD_PERF)
|
|||
install(FILES ${CMAKE_SOURCE_DIR}/tools/perf.py DESTINATION "${CMAKE_INSTALL_LIBDIR}/${BINARY_NAME}")
|
||||
endif()
|
||||
|
||||
# Packaging
|
||||
set(CPACK_PACKAGE_VERSION_MAJOR ${LIB_VERSION_MAJOR})
|
||||
set(CPACK_PACKAGE_VERSION_MINOR ${LIB_VERSION_MINOR})
|
||||
set(CPACK_PACKAGE_VERSION_PATCH ${LIB_VERSION_PATCH})
|
||||
set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/LICENSE)
|
||||
|
||||
set(CPACK_STRIP_FILES ${BINARY_NAME})
|
||||
|
||||
include(CPack)
|
||||
|
||||
# Summaries
|
||||
message(STATUS "Feature summary:")
|
||||
message(STATUS " CLI debugger: ${USE_CLI_DEBUGGER}")
|
||||
|
|
Loading…
Reference in New Issue