summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2019-06-05 14:10:02 +0200
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2019-07-06 13:05:59 +0000
commit693098407fe303737f506cb5ef67e7f8209018d1 (patch)
tree213b38fb8d06c150b62456afe63e5649976235eb /src/CMakeLists.txt
parent522570f0911dd6e79f3378b353552d5ea97b765f (diff)
downloadsmartcardauth-69309840.tar.gz
smartcardauth-69309840.zip
conversion to the cmake building system
Signed-off-by: gregory guy <g-gregory@gmx.fr>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..9253d56
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,20 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+
+##### cardpincheck (executable)
+
+tde_add_executable( cardpincheck
+
+ SOURCES
+ cardpincheck.c
+ LINK
+ ${SSL_LIBRARIES}
+ ${GNUTLS_LIBRARIES}
+ ${LIBPKCS11-HELPER_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)