diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake index 88e8da7cdbe..818264f9edf 100644 --- a/cmake/plugin.cmake +++ b/cmake/plugin.cmake @@ -214,7 +214,8 @@ MACRO(MYSQL_ADD_PLUGIN) ELSE() SET(ver "") ENDIF() - SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} ${ARG_COMPONENT} PARENT_SCOPE) + SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} ${ARG_COMPONENT}) + SET(CPACK_COMPONENTS_ALL ${CPACK_COMPONENTS_ALL} PARENT_SCOPE) IF (NOT ARG_CLIENT) SET(CPACK_RPM_${ARG_COMPONENT}_PACKAGE_REQUIRES "MariaDB${ver}" PARENT_SCOPE)