mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 09:05:10 -07:00
15 lines
442 B
CMake
15 lines
442 B
CMake
# CMakeLists for ./cockatrice/themes directory
|
|
#
|
|
# Add themes subfolders
|
|
|
|
set(defthemes Default Fabric Fusion Leather Plasma VelvetMarble)
|
|
|
|
if(UNIX)
|
|
if(APPLE) # macOS
|
|
install(DIRECTORY ${defthemes} DESTINATION Cockatrice.app/Contents/Resources/themes/)
|
|
else() # Assume Linux
|
|
install(DIRECTORY ${defthemes} DESTINATION share/cockatrice/themes/)
|
|
endif()
|
|
elseif(WIN32)
|
|
install(DIRECTORY ${defthemes} DESTINATION themes/)
|
|
endif()
|