* Support CMakeify operation * Run Cmakeify * Update cmakeify.sh Co-authored-by: ebbit1q <ebbit1q@gmail.com>
16 lines
410 B
CMake
16 lines
410 B
CMake
# CMakeLists for themes directory
|
|
#
|
|
# add themes subfolders
|
|
|
|
set(defthemes 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()
|