Cockatrice/cockatrice/sounds/CMakeLists.txt

16 lines
400 B
CMake

# CMakeLists for sounds directory
#
# add sounds subfolders
set(defsounds Default Legacy)
if(UNIX)
if(APPLE)
install(DIRECTORY ${defsounds} DESTINATION continuumatrice.app/Contents/Resources/sounds/)
else()
# Assume linux
install(DIRECTORY ${defsounds} DESTINATION share/continuumatrice/sounds/)
endif()
elseif(WIN32)
install(DIRECTORY ${defsounds} DESTINATION sounds/)
endif()