diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-07 12:42:59 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-11-07 12:42:59 +0200 |
commit | 159639b9f1d351a883127ff55ac93d814e430067 (patch) | |
tree | 725d15e7644ff1c4284fbe31216f8efcdacf4dbf /Depends.cmake | |
parent | 9fbb99e298aed79ae6a6f968594604699bb6c35d (diff) |
Windows: Call the updater; added a missing resources
Diffstat (limited to 'Depends.cmake')
-rw-r--r-- | Depends.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Depends.cmake b/Depends.cmake index 3af9102d..3faeca75 100644 --- a/Depends.cmake +++ b/Depends.cmake | |||
@@ -146,6 +146,17 @@ else () | |||
146 | endif () | 146 | endif () |
147 | endif () | 147 | endif () |
148 | 148 | ||
149 | if (ENABLE_WINSPARKLE) | ||
150 | # We're assuming this is Windows. | ||
151 | add_library (winsparkle INTERFACE) | ||
152 | target_include_directories (winsparkle INTERFACE ${WINSPARKLE_DIR}/include) | ||
153 | target_link_libraries (winsparkle INTERFACE ${WINSPARKLE_DIR}/x64/Release/WinSparkle.dll) | ||
154 | install ( | ||
155 | PROGRAMS ${WINSPARKLE_DIR}/x64/Release/WinSparkle.dll | ||
156 | DESTINATION . | ||
157 | ) | ||
158 | endif () | ||
159 | |||
149 | find_package (PkgConfig REQUIRED) | 160 | find_package (PkgConfig REQUIRED) |
150 | pkg_check_modules (SDL2 REQUIRED sdl2) | 161 | pkg_check_modules (SDL2 REQUIRED sdl2) |
151 | pkg_check_modules (MPG123 IMPORTED_TARGET libmpg123) | 162 | pkg_check_modules (MPG123 IMPORTED_TARGET libmpg123) |