Skip to content

Commit de3b953

Browse files
committed
Core (Build): Require zlib 1.2 and libpng 1.4.
1 parent 9c40351 commit de3b953

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
@@ -168,6 +168,7 @@ TARGET_LINK_LIBRARIES(libvisual
168168
PkgConfig::ORC
169169
PNG::PNG
170170
Threads::Threads
171+
ZLIB::ZLIB
171172
)
172173

173174
IF(WIN32)

0 commit comments

Comments
 (0)