Ajoute les dépendances des librairies sur le paquet deb

This commit is contained in:
Mattéo Delabre 2016-05-31 14:59:30 +02:00
parent 3001dca604
commit b1f78b9b3f
1 changed files with 4 additions and 0 deletions

4
CMakeLists.txt vendored
View File

@ -76,6 +76,10 @@ if(WIN32)
elseif(UNIX AND NOT APPLE) elseif(UNIX AND NOT APPLE)
set(CPACK_GENERATOR "DEB") set(CPACK_GENERATOR "DEB")
set(CPACK_DEBIAN_PACKAGE_SECTION "games") set(CPACK_DEBIAN_PACKAGE_SECTION "games")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libsfml-system2.3v5 (>= 2.3.2), \
libsfml-window2.3v5 (>= 2.3.2), libsfml-graphics2.3v5 (>= 2.3.2), \
libsfml-audio2.3v5 (>= 2.3.2), libboost-system1.58.0 (>= 1.58.0), \
libboost-filesystem1.58.0 (>= 1.58.0)")
# Installation de l'exécutable # Installation de l'exécutable
install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION games) install(TARGETS ${CMAKE_PROJECT_NAME} DESTINATION games)