build: disable plugins which require openssl if openssl is not available
Type: improvement Change-Id: I4591fcb31dd28d1771b3d6e5afdaa14f29efe6ef Signed-off-by: Damjan Marion <damarion@cisco.com>
This commit is contained in:
@@ -12,7 +12,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
if(NOT OPENSSL_FOUND)
|
||||
message(WARNING "OpenSSL not found - wireguard plugin disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
if (OPENSSL_VERSION VERSION_LESS 1.1.0)
|
||||
message(WARNING "OpenSSL too old - wireguard plugin disabled")
|
||||
return()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user