From a755f81a141e038fbc0617eb6886e35f267e5f92 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 19 Aug 2021 02:57:40 +0100 Subject: [PATCH] Findsodium.cmake: Fix tabs->spaces Fixes a formatting inconsistency I inadvertently introduced in a previous change. Apologies! Fixes: 012f3aa90c9f76517f5d02867b7112c3eb48a59a Signed-off-by: Sam James --- CMake/Findsodium.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMake/Findsodium.cmake b/CMake/Findsodium.cmake index bdaa4515c..9f49c600d 100644 --- a/CMake/Findsodium.cmake +++ b/CMake/Findsodium.cmake @@ -56,10 +56,10 @@ if (UNIX OR CMAKE_SYSTEM_NAME STREQUAL "Generic" OR AMIGA) if(sodium_USE_STATIC_LIBS) if(sodium_PKG_STATIC_LIBRARIES) - # Create a temporary list to manipulate the list of libraries we found - set(sodium_PKG_STATIC_LIBRARIES_TMP "") + # Create a temporary list to manipulate the list of libraries we found + set(sodium_PKG_STATIC_LIBRARIES_TMP "") - # Mangle the library names into the format we need + # Mangle the library names into the format we need foreach(_libname ${sodium_PKG_STATIC_LIBRARIES}) if (NOT _libname MATCHES "^lib.*\\.a$") # ignore strings already ending with .a list(APPEND sodium_PKG_STATIC_LIBRARIES_TMP "lib${_libname}.a") @@ -67,8 +67,8 @@ if (UNIX OR CMAKE_SYSTEM_NAME STREQUAL "Generic" OR AMIGA) endforeach() list(REMOVE_DUPLICATES sodium_PKG_STATIC_LIBRARIES_TMP) - # Replace the list with our processed one - set(sodium_PKG_STATIC_LIBRARIES ${sodium_PKG_STATIC_LIBRARIES_TMP}) + # Replace the list with our processed one + set(sodium_PKG_STATIC_LIBRARIES ${sodium_PKG_STATIC_LIBRARIES_TMP}) else() # if pkgconfig for libsodium doesn't provide # static lib info, then override PKG_STATIC here..