Skip to content

Commit

Permalink
Correct the variable name from ${ZLIB_LIBRARY} to ${ZLIB_LIBRARIES}
Browse files Browse the repository at this point in the history
This is the name defined by FindZLIB.cmake
  • Loading branch information
ellert authored and gganis committed Nov 23, 2021
1 parent 6da5a8b commit 7b94eca
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/XrdApps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if( NOT XRDCL_ONLY )
XrdPosix
XrdUtils
${CMAKE_THREAD_LIBS_INIT}
${ZLIB_LIBRARY} )
${ZLIB_LIBRARIES} )


#-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/XrdCl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ target_link_libraries(
XrdUtils
${CMAKE_THREAD_LIBS_INIT}
${UUID_LIBRARY}
z
${ZLIB_LIBRARIES}
${EXTRA_LIBS}
${CMAKE_DL_LIBS}
${OPENSSL_LIBRARIES}
Expand Down
2 changes: 1 addition & 1 deletion src/XrdPlugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ add_library(
target_link_libraries(
${LIB_XRD_ZCRC32}
XrdUtils
${ZLIB_LIBRARY} )
${ZLIB_LIBRARIES} )

set_target_properties(
${LIB_XRD_ZCRC32}
Expand Down
2 changes: 1 addition & 1 deletion src/XrdSsi.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ XrdSsi/XrdSsiShMat.cc XrdSsi/XrdSsiShMat.hh)
target_link_libraries(
XrdSsiShMap
XrdUtils
${ZLIB_LIBRARY}
${ZLIB_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT} )

set_target_properties(
Expand Down
2 changes: 1 addition & 1 deletion tests/XrdCephTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ target_link_libraries(
XrdCephTests
${CMAKE_THREAD_LIBS_INIT}
${CPPUNIT_LIBRARIES}
${ZLIB_LIBRARY}
${ZLIB_LIBRARIES}
XrdCephPosix )

#-------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion tests/XrdClTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ target_link_libraries(
XrdClTestsHelper
${CMAKE_THREAD_LIBS_INIT}
${CPPUNIT_LIBRARIES}
${ZLIB_LIBRARY}
${ZLIB_LIBRARIES}
XrdCl )

add_library(
Expand Down
2 changes: 1 addition & 1 deletion tests/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ target_link_libraries(
XrdClTestsHelper
${CMAKE_THREAD_LIBS_INIT}
${CPPUNIT_LIBRARIES}
${ZLIB_LIBRARY}
${ZLIB_LIBRARIES}
XrdCl
XrdUtils)

Expand Down

0 comments on commit 7b94eca

Please sign in to comment.