Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
dfdfe602
Commit
dfdfe602
authored
Jun 11, 2014
by
Fabio Bas
Browse files
Properly install sounds and zonebg files
parent
84fe5f46
Changes
2
Hide whitespace changes
Inline
Side-by-side
sounds/CMakeLists.txt
View file @
dfdfe602
...
@@ -2,5 +2,15 @@
...
@@ -2,5 +2,15 @@
#
#
# Installs default sound files
# Installs default sound files
FILE
(
GLOB sounds
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/sounds/*.raw"
)
FILE
(
GLOB sounds
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.raw"
)
INSTALL
(
FILES
${
sounds
}
DESTINATION share/cockatrice/sounds
)
if
(
UNIX
)
if
(
APPLE
)
INSTALL
(
FILES
${
sounds
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/sounds
)
else
()
# Assume linux
INSTALL
(
FILES
${
sounds
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/cockatrice/sounds
)
endif
()
elseif
(
WIN32
)
INSTALL
(
FILES
${
sounds
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/sounds
)
endif
()
\ No newline at end of file
zonebg/CMakeLists.txt
View file @
dfdfe602
...
@@ -2,5 +2,15 @@
...
@@ -2,5 +2,15 @@
#
#
# Installs default "zone background" files
# Installs default "zone background" files
FILE
(
GLOB zonebg
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/zonebg/*.*"
)
FILE
(
GLOB zonebg
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/*.*"
)
INSTALL
(
FILES
${
zonebg
}
DESTINATION share/cockatrice/zonebg
)
if
(
UNIX
)
if
(
APPLE
)
INSTALL
(
FILES
${
zonebg
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/zonebg
)
else
()
# Assume linux
INSTALL
(
FILES
${
zonebg
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/share/cockatrice/zonebg
)
endif
()
elseif
(
WIN32
)
INSTALL
(
FILES
${
zonebg
}
DESTINATION
${
CMAKE_INSTALL_PREFIX
}
/zonebg
)
endif
()
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment