Skip to content

Commit caff0fa

Browse files
committed
Core (Build): Require zlib 1.2 and libpng 1.4.
1 parent 3a20161 commit caff0fa

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
@@ -73,8 +73,11 @@ IF(NOT HAVE_STDC_MATH)
7373
MESSAGE(FATAL_ERROR "Libvisual requires libm to build")
7474
ENDIF()
7575

76+
# Check for Zlib
77+
FIND_PACKAGE(ZLIB 1.2 REQUIRED)
78+
7679
# Check for libpng
77-
FIND_PACKAGE(PNG REQUIRED)
80+
FIND_PACKAGE(PNG 1.4 REQUIRED)
7881

7982
# Internationalization
8083
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
@@ -163,6 +163,7 @@ TARGET_LINK_LIBRARIES(libvisual
163163
PkgConfig::ORC
164164
PNG::PNG
165165
Threads::Threads
166+
ZLIB::ZLIB
166167
)
167168

168169
IF(WIN32)

0 commit comments

Comments
 (0)