cmake fixes

This commit is contained in:
Dennis Felsing 2017-10-25 10:35:33 +02:00
parent a38f0f7dac
commit 233ec0a5f2

View file

@ -1148,8 +1148,7 @@ endforeach()
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME ${PROJECT_NAME})
install(TARGETS ${TARGET_CLIENT} ${TARGET_SERVER} DESTINATION bin)
install(DIRECTORY data DESTINATION share/DDNet)
install(DIRECTORY shader DESTINATION share/DDNet)
install(DIRECTORY data shader DESTINATION share/DDNet)
set(CPACK_TARGETS
${TARGET_CLIENT}
@ -1160,8 +1159,7 @@ set(CPACK_TARGETS
map_diff
map_extract
)
set(CPACK_DIRS data)
set(CPACK_DIRS shader)
set(CPACK_DIRS data shader)
set(CPACK_FILES
license.txt
storage.cfg