servatrice/cockatrice/sounds/CMakeLists.txt
Zach H a95b338c80
Add cmake format (#4618)
* Support CMakeify operation

* Run Cmakeify

* Update cmakeify.sh

Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-05-08 21:22:43 +02:00

16 lines
390 B
CMake

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