Commit 4f07cabc authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

do not redefine CPACK_PACKAGE_FILE_NAME, if it is already given

parent fb9dc5f4
......@@ -98,7 +98,9 @@ ENDIF()
INCLUDE(package_name)
GET_PACKAGE_FILE_NAME(CPACK_PACKAGE_FILE_NAME)
IF(NOT CPACK_PACKAGE_FILE_NAME)
GET_PACKAGE_FILE_NAME(CPACK_PACKAGE_FILE_NAME)
ENDIF()
IF(NOT CPACK_SOURCE_PACKAGE_FILE_NAME)
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "mysql-${VERSION}")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment