mariadb/plugin/auth_pam/CMakeLists.txt

14 lines
355 B
Text
Raw Normal View History

2012-02-06 16:26:12 +01:00
INCLUDE (CheckIncludeFiles)
2012-02-23 07:50:43 +01:00
INCLUDE (CheckFunctionExists)
2012-02-06 16:26:12 +01:00
CHECK_INCLUDE_FILES (security/pam_appl.h HAVE_PAM_APPL_H)
2012-02-23 07:50:43 +01:00
CHECK_FUNCTION_EXISTS (strndup HAVE_STRNDUP)
2012-02-06 16:26:12 +01:00
IF(HAVE_PAM_APPL_H)
IF(HAVE_STRNDUP)
ADD_DEFINITIONS(-DHAVE_STRNDUP)
ENDIF(HAVE_STRNDUP)
MYSQL_ADD_PLUGIN(auth_pam auth_pam.c LINK_LIBRARIES pam MODULE_ONLY)
ENDIF(HAVE_PAM_APPL_H)
2012-02-06 16:26:12 +01:00