From 186d23c9202c94052b71fdf23c4967c09c118891 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sun, 28 Feb 2016 08:51:44 -0800 Subject: [PATCH] Set OPENSSL_* variables to empty string if not found --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d7c0ee..9ff911a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.")