summaryrefslogtreecommitdiff
path: root/Depends.cmake
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-11-07 12:42:59 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-11-07 12:42:59 +0200
commit159639b9f1d351a883127ff55ac93d814e430067 (patch)
tree725d15e7644ff1c4284fbe31216f8efcdacf4dbf /Depends.cmake
parent9fbb99e298aed79ae6a6f968594604699bb6c35d (diff)
Windows: Call the updater; added a missing resources
Diffstat (limited to 'Depends.cmake')
-rw-r--r--Depends.cmake11
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 ()
147endif () 147endif ()
148 148
149if (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 )
158endif ()
159
149find_package (PkgConfig REQUIRED) 160find_package (PkgConfig REQUIRED)
150pkg_check_modules (SDL2 REQUIRED sdl2) 161pkg_check_modules (SDL2 REQUIRED sdl2)
151pkg_check_modules (MPG123 IMPORTED_TARGET libmpg123) 162pkg_check_modules (MPG123 IMPORTED_TARGET libmpg123)