1
0
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:
Mathieu Schroeter 2018-07-20 15:34:23 +02:00
parent 899af2d6d4
commit 23e8ee13ec

View File

@ -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 ()