Skip to content

Commit 8323ae1

Browse files
committed
Follow up to r1931334: Look for adler32_z() in the CMake build, too.
* CMakeLists.txt: Add authckeck for adler32_z() in zlib. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1931337 13f79535-47bb-0310-9956-ffa450edef68
1 parent 488970e commit 8323ae1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -682,6 +682,10 @@ if (HAVE_UNISTD_H)
682682
autocheck_symbol_exists("getpid" "unistd.h" HAVE_GETPID)
683683
endif()
684684

685+
set(CMAKE_REQUIRED_LIBRARIES external-zlib)
686+
autocheck_symbol_exists("adler32_z" "zlib.h" SVN_ZLIB_HAS_ADLER32_Z)
687+
unset(CMAKE_REQUIRED_LIBRARIES)
688+
685689
include_directories("${CMAKE_CURRENT_BINARY_DIR}")
686690

687691
file(GLOB public_headers "subversion/include/*.h")

0 commit comments

Comments
 (0)