summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-02-06 16:26:12 +0100
committerSergei Golubchik <sergii@pisem.net>2012-02-06 16:26:12 +0100
commitdfafb7bbc96220a9bb481b90a5c9e53e017c324e (patch)
treef025deb80e200298b09154ea5baddcf923bab563 /plugin
parente7e20585501ab331c37ef0ca5ced80d37079fb50 (diff)
downloadmariadb-git-dfafb7bbc96220a9bb481b90a5c9e53e017c324e.tar.gz
added plugin/auth_pam/CMakeLists.txt
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth_pam/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/auth_pam/CMakeLists.txt b/plugin/auth_pam/CMakeLists.txt
new file mode 100644
index 00000000000..74ad76de78b
--- /dev/null
+++ b/plugin/auth_pam/CMakeLists.txt
@@ -0,0 +1,8 @@
+INCLUDE (CheckIncludeFiles)
+
+CHECK_INCLUDE_FILES (security/pam_appl.h HAVE_PAM_APPL_H)
+
+IF(HAVE_PAM_APPL_H)
+ MYSQL_ADD_PLUGIN(auth_pam auth_pam.c LINK_LIBRARIES pam MODULE_ONLY)
+ENDIF(HAVE_PAM_APPL_H)
+