mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
9e26622a12
And fix it for Windows. SubQ reading should now work.
19 lines
465 B
CMake
19 lines
465 B
CMake
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(LINUX AND NOT ANDROID)
|
|
find_package(UDEV 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()
|