Skip to content

Commit a138a72

Browse files
committed
Core (Build): Require zlib 1.2 and libpng 1.4.
1 parent 29e9ed4 commit a138a72

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
@@ -79,8 +79,11 @@ IF(NOT HAVE_STDC_MATH)
7979
MESSAGE(FATAL_ERROR "Libvisual requires libm to build")
8080
ENDIF()
8181

82+
# Check for Zlib
83+
FIND_PACKAGE(ZLIB 1.2 REQUIRED)
84+
8285
# Check for libpng
83-
FIND_PACKAGE(PNG REQUIRED)
86+
FIND_PACKAGE(PNG 1.4 REQUIRED)
8487

8588
# Internationalization
8689
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
@@ -172,6 +172,7 @@ TARGET_LINK_LIBRARIES(libvisual
172172
PkgConfig::ORC
173173
PNG::PNG
174174
Threads::Threads
175+
ZLIB::ZLIB
175176
)
176177

177178
IF(WIN32)

0 commit comments

Comments
 (0)