osx: install sounds and zonebg as cockatrice's resources

This commit is contained in:
Fabio Bas 2014-06-21 17:28:58 +02:00
parent 41c7ce8022
commit 1b2c839ff0
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ FILE(GLOB sounds "${CMAKE_CURRENT_SOURCE_DIR}/*.raw")
if(UNIX)
if(APPLE)
INSTALL(FILES ${sounds} DESTINATION sounds/)
INSTALL(FILES ${sounds} DESTINATION cockatrice.app/Contents/Resources/sounds/)
else()
# Assume linux
INSTALL(FILES ${sounds} DESTINATION share/cockatrice/sounds/)

View file

@ -6,7 +6,7 @@ FILE(GLOB zonebg "${CMAKE_CURRENT_SOURCE_DIR}/*.*")
if(UNIX)
if(APPLE)
INSTALL(FILES ${zonebg} DESTINATION zonebg/)
INSTALL(FILES ${zonebg} DESTINATION cockatrice.app/Contents/Resources/zonebg/)
else()
# Assume linux
INSTALL(FILES ${zonebg} DESTINATION share/cockatrice/zonebg/)