diff options
author | Vladislav Vaintroub <vvaintroub@u8> | 2010-01-28 11:30:21 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@u8> | 2010-01-28 11:30:21 +0100 |
commit | 9632ea7475317a587cabd083164d59c3cfadf009 (patch) | |
tree | 95cb0e9648a81d06f049b378fe9c22d72b0a235b /cmake/mysql_version.cmake | |
parent | 9cabc9fd8ac4d249d95ff7140371533070dedd4e (diff) | |
download | mariadb-git-9632ea7475317a587cabd083164d59c3cfadf009.tar.gz |
do not redefine CPACK_PACKAGE_FILE_NAME, if it is already given
Diffstat (limited to 'cmake/mysql_version.cmake')
-rw-r--r-- | cmake/mysql_version.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/mysql_version.cmake b/cmake/mysql_version.cmake index 67288767d20..e367da651e9 100644 --- a/cmake/mysql_version.cmake +++ b/cmake/mysql_version.cmake @@ -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}") |