From b6e443845a6afc5be808dd3662901c7a5b06c7ab Mon Sep 17 00:00:00 2001 From: marcosbento Date: Thu, 27 Feb 2025 08:31:12 +0000 Subject: [PATCH] Update Dependencies.cmake Move FindCrypt usage close to the remaining library dependencies --- cmake/Dependencies.cmake | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake index e41540f16..75d773988 100644 --- a/cmake/Dependencies.cmake +++ b/cmake/Dependencies.cmake @@ -223,6 +223,21 @@ if (ENABLE_SSL) endif() +# ========================================================================================= +# Crypt +# ========================================================================================= +ecbuild_info( "Locating Crypt" ) + +find_package(Crypt) + +ecbuild_info( "Crypt details:" ) +ecbuild_info( " * Crypt_FOUND : ${Crypt_FOUND}" ) +ecbuild_info( " * Crypt_INCLUDE_DIRS : ${Crypt_INCLUDE_DIRS}" ) +ecbuild_info( " * Crypt_LIBRARIES : ${Crypt_LIBRARIES}" ) + +ecbuild_info( "Found Crypt at ${Crypt_INCLUDE_DIRS}" ) + + # ========================================================================================= # Dependency: Qt # ========================================================================================= @@ -362,15 +377,3 @@ else() ecbuild_info("Clang-Format not found") ecbuild_info(" WARNING: No formatting targets will be defined!") endif () - -# ========================================================================================= -# Crypt -# ========================================================================================= -ecbuild_info( "Locating Crypt" ) - -find_package(Crypt) - -ecbuild_info( "Crypt details:" ) -ecbuild_info( " * Crypt_FOUND : ${Crypt_FOUND}" ) -ecbuild_info( " * Crypt_INCLUDE_DIRS : ${Crypt_INCLUDE_DIRS}" ) -ecbuild_info( " * Crypt_LIBRARIES : ${Crypt_LIBRARIES}" )