all repos — mgba @ 500d613452d74d04e9df52201dfd610da35268d2

mGBA Game Boy Advance Emulator

CMake: Package README translations (fixes #950)
Vicki Pfau vi@endrift.com
Mon, 25 Dec 2017 03:10:43 -0500
commit

500d613452d74d04e9df52201dfd610da35268d2

parent

51af2c3af2f8c6b537bd887615b4b387506f4d65

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -927,7 +927,8 @@ SET(CPACK_DEB_COMPONENT_INSTALL ON)

set(CPACK_STRIP_FILES ${BINARY_NAME}) -install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/CHANGES DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT lib${BINARY_NAME}) +file(GLOB READMES ${CMAKE_CURRENT_SOURCE_DIR}/README*.md) +install(FILES ${READMES} ${CMAKE_CURRENT_SOURCE_DIR}/CHANGES DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT lib${BINARY_NAME}) include(CPack)