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
9ef4d79c
Commit
9ef4d79c
authored
Oct 14, 2014
by
Fabio Bas
Browse files
Install the audio/* plugins under windows and osx
parent
8dbb2d8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/CMakeLists.txt
View file @
9ef4d79c
...
...
@@ -263,15 +263,16 @@ if(APPLE)
set
(
qtconf_dest_dir cockatrice.app/Contents/Resources
)
# note: no codecs in qt5
# note: phonon_backend => mediaservice
# note: phonon_backend =>
audio |
mediaservice
# note: needs platform on osx
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
install
(
DIRECTORY
"
${
QT_PLUGINS_DIR
}
/"
DESTINATION
${
plugin_dest_dir
}
COMPONENT Runtime
FILES_MATCHING REGEX
"(codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*_debug
\\
.dylib"
)
FILES_MATCHING REGEX
"(
audio|
codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*_debug
\\
.dylib"
)
else
()
install
(
DIRECTORY
"
${
QT_PLUGINS_DIR
}
/"
DESTINATION
${
plugin_dest_dir
}
COMPONENT Runtime
FILES_MATCHING REGEX
"(codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/[^_]*
\\
.dylib"
)
FILES_MATCHING REGEX
"(audio|codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*
\\
.dylib"
REGEX
".*_debug
\\
.dylib"
EXCLUDE
)
endif
()
install
(
CODE
"
...
...
@@ -296,15 +297,15 @@ if(WIN32)
set
(
qtconf_dest_dir .
)
# note: no codecs in qt5
# note: phonon_backend => mediaservice
# note: phonon_backend =>
audio |
mediaservice
# note: needs platform on osx
if
(
CMAKE_BUILD_TYPE STREQUAL
"Debug"
)
install
(
DIRECTORY
"
${
QT_PLUGINS_DIR
}
/"
DESTINATION
${
plugin_dest_dir
}
COMPONENT Runtime
FILES_MATCHING REGEX
"(codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*d
\\
.dll"
)
FILES_MATCHING REGEX
"(
audio|
codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*d
\\
.dll"
)
else
()
install
(
DIRECTORY
"
${
QT_PLUGINS_DIR
}
/"
DESTINATION
${
plugin_dest_dir
}
COMPONENT Runtime
FILES_MATCHING REGEX
"(codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*[^d]
\\
.dll"
)
FILES_MATCHING REGEX
"(
audio|
codecs|iconengines|imageformats|mediaservice|phonon_backend|platforms)/.*[^d]
\\
.dll"
)
endif
()
install
(
CODE
"
...
...
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