mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 00:15:45 -04:00
Build: Use shared webp/zstd/zlib
This commit is contained in:
15
CMakeModules/DuckStationDependencies.cmake
Normal file
15
CMakeModules/DuckStationDependencies.cmake
Normal file
@ -0,0 +1,15 @@
|
||||
if(ENABLE_SDL2)
|
||||
find_package(SDL2 2.30.0 REQUIRED)
|
||||
endif()
|
||||
if(NOT WIN32 AND NOT ANDROID)
|
||||
find_package(CURL REQUIRED)
|
||||
find_package(Zstd REQUIRED)
|
||||
find_package(WebP REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
endif()
|
||||
if(UNIX AND NOT APPLE)
|
||||
find_package(Libbacktrace)
|
||||
if(NOT LIBBACKTRACE_FOUND)
|
||||
message(WARNING "libbacktrace not found, crashes will not produce backtraces.")
|
||||
endif()
|
||||
endif()
|
Reference in New Issue
Block a user