Skip to content

Commit 4aa49d6

Browse files
committed
Core (Build): Require zlib 1.2 and libpng 1.4.
1 parent 9c932a6 commit 4aa49d6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

libvisual/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,11 @@ IF(NOT HAVE_STDC_MATH)
8282
MESSAGE(FATAL_ERROR "Libvisual requires libm to build")
8383
ENDIF()
8484

85+
# Check for Zlib
86+
FIND_PACKAGE(ZLIB 1.2 REQUIRED)
87+
8588
# Check for libpng
86-
FIND_PACKAGE(PNG REQUIRED)
89+
FIND_PACKAGE(PNG 1.4 REQUIRED)
8790

8891
# Internationalization
8992
SET(GETTEXT_PACKAGE "libvisual-${LV_VERSION_SUFFIX}")

libvisual/libvisual/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ TARGET_LINK_LIBRARIES(libvisual
176176
PkgConfig::ORC
177177
PNG::PNG
178178
Threads::Threads
179+
ZLIB::ZLIB
179180
)
180181

181182
IF(WIN32)

0 commit comments

Comments
 (0)