ikev2: build only when deps requirements are met

Type: improvement

Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Change-Id: I89bcc1ba804ded676b194dbda52704cd0c54a67e
This commit is contained in:
Filip Tehlar
2021-05-23 18:40:40 +00:00
committed by Beno�t Ganne
parent c773a7d5c8
commit a5504a47cf
2 changed files with 5 additions and 113 deletions
+5 -1
View File
@@ -11,7 +11,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
add_definitions (-DWITH_LIBSSL=1)
if(NOT OPENSSL_FOUND)
message(WARNING "openssl headers not found - ikev2 plugin disabled")
return()
endif()
include_directories(${OPENSSL_INCLUDE_DIR})
add_vpp_plugin(ikev2
File diff suppressed because it is too large Load Diff