Add ZLIB linking and file logging support

- Add ZLIB find_package and linking for addon compression
- Add file logging to logs/wowee.log
This commit is contained in:
Kelsi 2026-02-05 21:03:27 -08:00
parent 82a44659b4
commit 9c8b202595
3 changed files with 33 additions and 10 deletions

View file

@ -21,6 +21,7 @@ find_package(GLEW REQUIRED)
find_package(OpenSSL REQUIRED)
find_package(Threads REQUIRED)
find_package(SQLite3 REQUIRED)
find_package(ZLIB REQUIRED)
find_package(PkgConfig REQUIRED)
pkg_check_modules(FFMPEG REQUIRED libavformat libavcodec libswscale libavutil)
@ -260,6 +261,7 @@ target_link_libraries(wowee PRIVATE
OpenSSL::SSL
OpenSSL::Crypto
Threads::Threads
ZLIB::ZLIB
)
# SQLite