Skip to content

Commit

Permalink
Update Dependencies.cmake
Browse files Browse the repository at this point in the history
Move FindCrypt usage close to the remaining library dependencies
  • Loading branch information
marcosbento authored Feb 27, 2025
1 parent 2847fd0 commit b6e4438
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
# =========================================================================================
Expand Down Expand Up @@ -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}" )

0 comments on commit b6e4438

Please sign in to comment.