fix SRPM builds on SLES 12.5, cmake 3.5.2
the bug with %attr(700,%{mysqld_user},-) was fixed not right after 2.8.12, but only in 3.10.0 https://gitlab.kitware.com/cmake/cmake/-/commit/a351edd245
This commit is contained in:
parent
6400b199ac
commit
156bf5298f
@ -42,8 +42,8 @@ IF(HAVE_PAM_APPL_H AND HAVE_GETGROUPLIST)
|
||||
IF (TARGET auth_pam)
|
||||
MYSQL_ADD_EXECUTABLE(auth_pam_tool auth_pam_tool.c DESTINATION ${INSTALL_PLUGINDIR}/auth_pam_tool_dir COMPONENT Server)
|
||||
TARGET_LINK_LIBRARIES(auth_pam_tool pam)
|
||||
IF (CMAKE_MAJOR_VERSION EQUAL 2)
|
||||
# 2.8.12 bug (in CentOS 7)
|
||||
IF (CMAKE_VERSION VERSION_LESS 3.10.0)
|
||||
# cmake bug #14362
|
||||
SET(user mysql)
|
||||
ELSE()
|
||||
SET(user "%{mysqld_user}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user