mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
a07c10f53f
and install in mysql-test/suite/plugins/pam so that it could be manually copied into /etc if needed
9 lines
408 B
CMake
9 lines
408 B
CMake
# gcc pam_mariadb_mtr.c -shared -lpam -fPIC -o pam_mariadb_mtr.so
|
|
|
|
ADD_LIBRARY(pam_mariadb_mtr MODULE pam_mariadb_mtr.c)
|
|
SET_TARGET_PROPERTIES (pam_mariadb_mtr PROPERTIES PREFIX "")
|
|
TARGET_LINK_LIBRARIES(pam_mariadb_mtr pam)
|
|
|
|
SET(dest DESTINATION "${INSTALL_MYSQLTESTDIR}/suite/plugins/pam" COMPONENT Test)
|
|
INSTALL(TARGETS pam_mariadb_mtr ${dest})
|
|
INSTALL(FILES mariadb_mtr.conf RENAME mariadb_mtr ${dest})
|