mirror of
https://github.com/taglib/taglib.git
synced 2025-07-14 02:54:27 -04:00
Move finding ZLIB to root CMakeLists.txt
Small line decrease, but also easier to read what is happening. Now all dependencies can be read from the root CMakeLists.txt file. Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Urs Fleisch
parent
9e0a7f7adb
commit
01348fb619
@ -176,17 +176,6 @@ check_cxx_source_compiles("
|
||||
}
|
||||
" HAVE_ISO_STRDUP)
|
||||
|
||||
# Determine whether zlib is installed.
|
||||
|
||||
if(NOT ZLIB_SOURCE)
|
||||
find_package(ZLIB)
|
||||
if(ZLIB_FOUND)
|
||||
set(HAVE_ZLIB 1)
|
||||
else()
|
||||
set(HAVE_ZLIB 0)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Detect WinRT mode
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
|
||||
set(PLATFORM WINRT 1)
|
||||
|
Reference in New Issue
Block a user