servatrice/themes/CMakeLists.txt
Fabio Bas 6b8ebe54e9 Theme manager
This is the first implementation of a theme manager. It’s a rebased and
revisited version of #792.
2015-06-15 14:35:58 +02:00

22 lines
459 B
CMake

# CMakeLists for themes directory
#
# add themes subfolders
SET(defthemes
Default
Fabric
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()