Skip to content

Commit

Permalink
Add FindCrypt.cmake module
Browse files Browse the repository at this point in the history
This allows to find libcrypt.so by full path, and avoid being dependent
on the compiler directory search.

Re ECFLOW-1987
  • Loading branch information
marcosbento committed Dec 11, 2024
1 parent 6bf0732 commit d9576f8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,20 @@ 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

0 comments on commit d9576f8

Please sign in to comment.