Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
cmake: improve add_vpp_plugin macro
[vpp.git]
/
src
/
plugins
/
tlsopenssl
/
CMakeLists.txt
diff --git
a/src/plugins/tlsopenssl/CMakeLists.txt
b/src/plugins/tlsopenssl/CMakeLists.txt
index
7659cc0
..
fac27f5
100644
(file)
--- a/
src/plugins/tlsopenssl/CMakeLists.txt
+++ b/
src/plugins/tlsopenssl/CMakeLists.txt
@@
-12,7
+12,13
@@
# limitations under the License.
if(OPENSSL_FOUND)
# limitations under the License.
if(OPENSSL_FOUND)
- add_vpp_plugin(tlsopenssl_plugin tls_openssl.c tls_async.c)
- target_link_libraries(tlsopenssl_plugin ${OPENSSL_LIBRARIES})
+ add_vpp_plugin(tlsopenssl
+ SOURCES
+ tls_openssl.c
+ tls_async.c
+
+ LINK_LIBRARIES
+ ${OPENSSL_LIBRARIES}
+ )
endif()
endif()