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.")