* Support CMakeify operation * Run Cmakeify * Update cmakeify.sh Co-authored-by: ebbit1q <ebbit1q@gmail.com>
16 lines
390 B
CMake
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()
|