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:
committed by
Beno�t Ganne
parent
c773a7d5c8
commit
a5504a47cf
@@ -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
Reference in New Issue
Block a user