servatrice/cockatrice/themes/CMakeLists.txt
Zach H a95b338c80
Add cmake format (#4618)
* Support CMakeify operation

* Run Cmakeify

* Update cmakeify.sh

Co-authored-by: ebbit1q <ebbit1q@gmail.com>
2022-05-08 21:22:43 +02:00

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()