This will add an alias for the srtp2 library so that when using CMake with either find_library or FetchContent, the use of target_link_libraries() can always follow the form libSRTP::srtp2. Without this, using FetchContent will allow only the name srtp2.
This will add an alias for the srtp2 library so that when using CMake with either
find_library
orFetchContent
, the use oftarget_link_libraries()
can always follow the formlibSRTP::srtp2
. Without this, usingFetchContent
will allow only the namesrtp2
.