summaryrefslogtreecommitdiff
path: root/cmake/FindZLIB.cmake
diff options
context:
space:
mode:
authorDanilo Spinella <danyspin97@protonmail.com>2020-04-01 11:53:28 +0200
committerSébastien Helleu <flashcode@flashtux.org>2020-04-11 09:48:20 +0200
commit62b61cef07d99eaeaa50965f5a9e32d89e4bc7f0 (patch)
tree0ae3529a10102a4ac27ad200068d9bfeb6395f02 /cmake/FindZLIB.cmake
parent7fbd4c1079a84e246e2090bb903ade17c4b1ffe2 (diff)
downloadweechat-62b61cef07d99eaeaa50965f5a9e32d89e4bc7f0.zip
cmake: removed vendored FindPackageHandleStandardArgs
Diffstat (limited to 'cmake/FindZLIB.cmake')
-rw-r--r--cmake/FindZLIB.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/FindZLIB.cmake b/cmake/FindZLIB.cmake
index 1713b05cf..dc8a3e359 100644
--- a/cmake/FindZLIB.cmake
+++ b/cmake/FindZLIB.cmake
@@ -66,8 +66,7 @@ endif()
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
# all listed variables are TRUE
-#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
-include(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
+include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)