mirror of
https://github.com/blupi-games/planetblupi-dev
synced 2024-12-30 13:55:36 +01:00
Add zlib as dep only if available
This commit is contained in:
parent
899af2d6d4
commit
23e8ee13ec
@ -575,7 +575,10 @@ if (HAS_SDL)
|
||||
)
|
||||
endif ()
|
||||
|
||||
set (SDL2_DEPENDS zlib_Project)
|
||||
set (SDL2_DEPENDS)
|
||||
if (HAS_ZLIB)
|
||||
set (SDL2_DEPENDS zlib_Project)
|
||||
endif ()
|
||||
if (HAS_ALSA)
|
||||
set (SDL2_DEPENDS ${SDL2_DEPENDS} libasound_Project)
|
||||
endif ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user