diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-17 08:29:29 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-10-17 08:29:29 +0300 |
commit | 0b690b55afd8cf3a92e19445cb15074a6c29e983 (patch) | |
tree | 2c7fcfb4267f5587ac5a597b5cecb99ff096fba4 | |
parent | 808cc53258a126cee70abcd79af96acffe3ce703 (diff) |
Windows: Deploy locally built libmpg123 DLL
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0fb306f0..e596316c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -244,6 +244,9 @@ endif () | |||
244 | # Deployment. | 244 | # Deployment. |
245 | if (MSYS) | 245 | if (MSYS) |
246 | install (TARGETS app DESTINATION .) | 246 | install (TARGETS app DESTINATION .) |
247 | if (TARGET PkgConfig::MPG123) | ||
248 | install (PROGRAMS ${MPG123_LIBDIR}/../bin/msys-mpg123-0.dll DESTINATION .) | ||
249 | endif () | ||
247 | if (NOT ENABLE_RESOURCE_EMBED) | 250 | if (NOT ENABLE_RESOURCE_EMBED) |
248 | install (FILES ${EMB_BIN} DESTINATION .) | 251 | install (FILES ${EMB_BIN} DESTINATION .) |
249 | endif () | 252 | endif () |