mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-26 11:34:32 +00:00
Fix when modules is required
svn path=/trunk/kdesupport/qca/; revision=651037
This commit is contained in:
parent
5769c10ef2
commit
3ecd37f6b2
@ -32,9 +32,20 @@ IF(BOTANCONFIG_EXECUTABLE)
|
||||
|
||||
IF(BOTAN_LIBRARIES)
|
||||
SET(BOTAN_FOUND TRUE)
|
||||
message(STATUS "Found Botan: ${BOTAN_LIBRARIES}")
|
||||
ENDIF(BOTAN_LIBRARIES)
|
||||
|
||||
MARK_AS_ADVANCED(BOTAN_CFLAGS BOTAN_LIBRARIES)
|
||||
|
||||
ENDIF(BOTANCONFIG_EXECUTABLE)
|
||||
|
||||
if (BOTAN_FOUND)
|
||||
if (NOT Botan_FIND_QUIETLY)
|
||||
message(STATUS "Found Botan: ${BOTAN_LIBRARIES}")
|
||||
endif (NOT Botan_FIND_QUIETLY)
|
||||
else (BOTAN_FOUND)
|
||||
if (Botan_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could not find Botan libraries")
|
||||
endif (Botan_FIND_REQUIRED)
|
||||
endif (BOTAN_FOUND)
|
||||
|
||||
|
||||
|
@ -32,9 +32,18 @@ IF(LIBGCRYPTCONFIG_EXECUTABLE)
|
||||
|
||||
IF(LIBGCRYPT_LIBRARIES AND LIBGCRYPT_CFLAGS)
|
||||
SET(LIBGCRYPT_FOUND TRUE)
|
||||
message(STATUS "Found libgcrypt: ${LIBGCRYPT_LIBRARIES}")
|
||||
ENDIF(LIBGCRYPT_LIBRARIES AND LIBGCRYPT_CFLAGS)
|
||||
|
||||
MARK_AS_ADVANCED(LIBGCRYPT_CFLAGS LIBGCRYPT_LIBRARIES)
|
||||
|
||||
ENDIF(LIBGCRYPTCONFIG_EXECUTABLE)
|
||||
|
||||
if (LIBGCRYPT_FOUND)
|
||||
if (NOT LibGcrypt_FIND_QUIETLY)
|
||||
message(STATUS "Found libgcrypt: ${LIBGCRYPT_LIBRARIES}")
|
||||
endif (NOT LibGcrypt_FIND_QUIETLY)
|
||||
else (LIBGCRYPT_FOUND)
|
||||
if (LibGcrypt_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could not find libgcrypt libraries")
|
||||
endif (LibGcrypt_FIND_REQUIRED)
|
||||
endif (LIBGCRYPT_FOUND)
|
||||
|
||||
MARK_AS_ADVANCED(LIBGCRYPT_CFLAGS LIBGCRYPT_LIBRARIES)
|
||||
|
@ -35,9 +35,14 @@ endif (SASL2_INCLUDE_DIR AND SASL2_LIBRARIES)
|
||||
|
||||
if (SASL2_FOUND)
|
||||
if (NOT Sasl2_FIND_QUIETLY)
|
||||
message(STATUS "Found sasl2: ${SASL2_LIBRARIES}")
|
||||
message(STATUS "Found Sasl2: ${SASL2_LIBRARIES}")
|
||||
endif (NOT Sasl2_FIND_QUIETLY)
|
||||
else (SASL2_FOUND)
|
||||
if (Sasl2_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could not find sasl2 libraries")
|
||||
endif (Sasl2_FIND_REQUIRED)
|
||||
endif (SASL2_FOUND)
|
||||
|
||||
|
||||
MARK_AS_ADVANCED(SASL2_INCLUDE_DIR SASL2_LIBRARIES)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user