summaryrefslogtreecommitdiffstats
path: root/src/tls/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-05-07 12:30:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-05-19 22:13:14 +0200
commit4743f46bfe645fcf4d39281c03e657cb87c0de5f (patch)
tree871fe556b3a8a487185d008d39f6edb6d2a9db91 /src/tls/CMakeLists.txt
parent0b951a4b52422787f8fbcd9de0e1cd732f588323 (diff)
downloadtqca-4743f46b.tar.gz
tqca-4743f46b.zip
Add tqca-tls plugin to the tqca package.
Signed-off-by: gregory guy <gregory-tde@laposte.net> Signed-off-by: Slavek Banko <slavek.banko@axis.cz> (cherry picked from commit 99ec4964d0e4bfeed080f0a8d3661882f136d018)
Diffstat (limited to 'src/tls/CMakeLists.txt')
-rw-r--r--src/tls/CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/tls/CMakeLists.txt b/src/tls/CMakeLists.txt
new file mode 100644
index 0000000..45fcf10
--- /dev/null
+++ b/src/tls/CMakeLists.txt
@@ -0,0 +1,27 @@
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions( -DTQCA_PLUGIN )
+
+
+##### tqca-tls (shared)
+
+tde_add_library( tqca-tls SHARED NO_LIBTOOL_FILE AUTOMOC
+
+ SOURCES
+ tqca-tls.cpp
+ LINK
+ ${TQT_LIBRARIES}
+ ${SSL_LIBRARIES}
+
+ DESTINATION ${TQT_PLUGINS_CRYPTO_DIR}
+)