diff options
author | Kitware Robot <kwrobot@kitware.com> | 2019-05-10 19:34:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-14 19:26:46 (GMT) |
commit | 932dcce1e63b98739ab547f2146a39310c2d0e1e (patch) | |
tree | 6802b7f96be03d8bfee2867c0f308307982d6ffc /Modules/FindGnuTLS.cmake | |
parent | e2d0aea2c734c8c5028f3573082e75bd157dbe72 (diff) | |
download | CMake-932dcce1e63b98739ab547f2146a39310c2d0e1e.zip CMake-932dcce1e63b98739ab547f2146a39310c2d0e1e.tar.gz CMake-932dcce1e63b98739ab547f2146a39310c2d0e1e.tar.bz2 |
Modules: Consistently use 2 space indentation
Diffstat (limited to 'Modules/FindGnuTLS.cmake')
-rw-r--r-- | Modules/FindGnuTLS.cmake | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Modules/FindGnuTLS.cmake b/Modules/FindGnuTLS.cmake index 4b4019c..123a0f5 100644 --- a/Modules/FindGnuTLS.cmake +++ b/Modules/FindGnuTLS.cmake @@ -23,31 +23,31 @@ Once done this will define if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARY) - # in cache already - set(gnutls_FIND_QUIETLY TRUE) + # in cache already + set(gnutls_FIND_QUIETLY TRUE) endif () if (NOT WIN32) - # try using pkg-config to get the directories and then use these values - # in the find_path() and find_library() calls - # also fills in GNUTLS_DEFINITIONS, although that isn't normally useful - find_package(PkgConfig QUIET) - PKG_CHECK_MODULES(PC_GNUTLS QUIET gnutls) - set(GNUTLS_DEFINITIONS ${PC_GNUTLS_CFLAGS_OTHER}) - set(GNUTLS_VERSION_STRING ${PC_GNUTLS_VERSION}) + # try using pkg-config to get the directories and then use these values + # in the find_path() and find_library() calls + # also fills in GNUTLS_DEFINITIONS, although that isn't normally useful + find_package(PkgConfig QUIET) + PKG_CHECK_MODULES(PC_GNUTLS QUIET gnutls) + set(GNUTLS_DEFINITIONS ${PC_GNUTLS_CFLAGS_OTHER}) + set(GNUTLS_VERSION_STRING ${PC_GNUTLS_VERSION}) endif () find_path(GNUTLS_INCLUDE_DIR gnutls/gnutls.h - HINTS - ${PC_GNUTLS_INCLUDEDIR} - ${PC_GNUTLS_INCLUDE_DIRS} - ) + HINTS + ${PC_GNUTLS_INCLUDEDIR} + ${PC_GNUTLS_INCLUDE_DIRS} + ) find_library(GNUTLS_LIBRARY NAMES gnutls libgnutls - HINTS - ${PC_GNUTLS_LIBDIR} - ${PC_GNUTLS_LIBRARY_DIRS} - ) + HINTS + ${PC_GNUTLS_LIBDIR} + ${PC_GNUTLS_LIBRARY_DIRS} + ) mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY) @@ -57,6 +57,6 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(GnuTLS VERSION_VAR GNUTLS_VERSION_STRING) if(GNUTLS_FOUND) - set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) - set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR}) + set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) + set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR}) endif() |