mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 00:55:09 -07:00
Add cmake format (#4618)
* Support CMakeify operation * Run Cmakeify * Update cmakeify.sh Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
3e90f109a2
commit
a95b338c80
20 changed files with 1132 additions and 815 deletions
|
|
@ -2,20 +2,15 @@
|
|||
#
|
||||
# add themes subfolders
|
||||
|
||||
SET(defthemes
|
||||
Fabric
|
||||
Leather
|
||||
Plasma
|
||||
VelvetMarble
|
||||
)
|
||||
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()
|
||||
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/)
|
||||
install(DIRECTORY ${defthemes} DESTINATION themes/)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue