aboutsummaryrefslogtreecommitdiffstats
path: root/pam/CMakeLists.txt
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-07-11 06:36:33 +0200
committerLoïc Collignon <loic.collignon@iot.bzh>2017-07-11 06:36:33 +0200
commit0455a7401f9f0f9bfad82c5ddf04f7dd70b0b852 (patch)
tree819bc150cb62c8eb344656086bbb52892f5288b8 /pam/CMakeLists.txt
parent66b90d26cfd555b2aa5fef67d31e539a70256719 (diff)
first somewhat working version.
Change-Id: I3101dc6b8add87eccac3bbf177b1320137f72463 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'pam/CMakeLists.txt')
-rw-r--r--pam/CMakeLists.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/pam/CMakeLists.txt b/pam/CMakeLists.txt
deleted file mode 100644
index 5d2de63..0000000
--- a/pam/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-
-# Add PAM dependency
-# FIXME: Require PAM, but it's seems there is no find_package.
-set(PAM_INCLUDE_DIR "/usr/include/")
-set(PAM_LIB "/lib64/libpam.so.0")
-include_directories(${PAM_INCLUDE_DIR})
-
-# Add the target
-add_library(agl-identity-usbstick-pam SHARED agl-identity-usbstick-pam.c)
-target_link_libraries(agl-identity-usbstick-pam ${PAM_LIB})
-set_property(TARGET agl-identity-usbstick-pam PROPERTY POSITION_IDENPENDENT_CODE ON)