1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Set OPENSSL_* variables to empty string if not found

This commit is contained in:
Matias Fontanini
2016-02-28 08:51:44 -08:00
parent cfbf88bb5f
commit 186d23c920

View File

@@ -109,6 +109,9 @@ IF(LIBTINS_ENABLE_DOT11)
MESSAGE(STATUS "Enabling WPA2 decryption support.")
ELSE()
MESSAGE(WARNING "Disabling WPA2 decryption support since OpenSSL was not found")
# Default this to empty strings
SET(OPENSSL_INCLUDE_DIR "")
SET(OPENSSL_LIBRARIES "")
ENDIF()
ELSE(LIBTINS_ENABLE_WPA2)
MESSAGE(STATUS "Disabling WPA2 decryption support.")