build: disable plugins which require openssl if openssl is not available
[vpp.git] / src / plugins / lisp / CMakeLists.txt
index bf0d60a..743a17e 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+if(NOT OPENSSL_FOUND)
+  message(WARNING "OpenSSL not found - lisp plugin disabled")
+  return()
+endif()
+
 ##############################################################################
 # LISP control plane: lisp-cp
 ##############################################################################