summaryrefslogtreecommitdiff
path: root/cmake/FindLibSSH2.cmake
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-11 22:37:36 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-14 07:25:41 -0500
commitc3fec45645e6939b3604d2d233be6f97ff629f87 (patch)
tree8e600ad28fd9f41c67a170ce4ca01fa0ce62c2c8 /cmake/FindLibSSH2.cmake
parentb608af6c3a2502ae61b94416a482c2e0672286a4 (diff)
downloadlibgit2-c3fec45645e6939b3604d2d233be6f97ff629f87.tar.gz
cmake: reformat modules
Apply the standard project cmake formatting to the modules.
Diffstat (limited to 'cmake/FindLibSSH2.cmake')
-rw-r--r--cmake/FindLibSSH2.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/cmake/FindLibSSH2.cmake b/cmake/FindLibSSH2.cmake
index ff5893525..c571997c4 100644
--- a/cmake/FindLibSSH2.cmake
+++ b/cmake/FindLibSSH2.cmake
@@ -2,12 +2,12 @@
# LIBSSH2_INCLUDE_DIR - the libssh2 include directory
# LIBSSH2_LIBRARY - the libssh2 library name
-FIND_PATH(LIBSSH2_INCLUDE_DIR libssh2.h)
+find_path(LIBSSH2_INCLUDE_DIR libssh2.h)
-FIND_LIBRARY(LIBSSH2_LIBRARY NAMES ssh2 libssh2)
+find_library(LIBSSH2_LIBRARY NAMES ssh2 libssh2)
-INCLUDE(FindPackageHandleStandardArgs)
+include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibSSH2
- REQUIRED_VARS LIBSSH2_LIBRARY LIBSSH2_INCLUDE_DIR)
+ REQUIRED_VARS LIBSSH2_LIBRARY LIBSSH2_INCLUDE_DIR)
-MARK_AS_ADVANCED(LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY)
+mark_as_advanced(LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY)