Cockatrice/cockatrice/themes/CMakeLists.txt
2026-05-17 16:15:15 +02:00

16 lines
425 B
CMake

# CMakeLists for themes directory
#
# add themes subfolders
set(defthemes Default Fabric Fusion Leather Plasma VelvetMarble)
if(UNIX)
if(APPLE)
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()