added plugin/auth_pam/CMakeLists.txt

This commit is contained in:
Sergei Golubchik 2012-02-06 16:26:12 +01:00
parent e7e2058550
commit dfafb7bbc9

View file

@ -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)