diff options
author | Vladislav Vaintroub <wlad@sun.com> | 2010-02-24 20:07:05 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@sun.com> | 2010-02-24 20:07:05 +0100 |
commit | bcebd97306a7d3fd16c91ed140745183f3d801f0 (patch) | |
tree | 2e29009b44c812bb70b481cc228a6b2fff4557dc /cmake/mysql_version.cmake | |
parent | 60c7cc878f284b9855cbb110e0aa425f38e5d0e8 (diff) | |
download | mariadb-git-bcebd97306a7d3fd16c91ed140745183f3d801f0.tar.gz |
#51466 : Source packages are broken with cmake in a cmake-agnostic environment
In the worst case possible scenario (no bzr, in-source build),
make dist produced a package that compiled ok with autotools
but failed to package because extra make_binary_distribution was
found in source package and was not built. make_binary_distribution
contained paths of the build machine.
Fix: exclude some scripts that are produced in cmake build.
Note that there is no good general fix for it in this specific scenario.
it is advisable to build source packages out of source or in bzr repo.
Diffstat (limited to 'cmake/mysql_version.cmake')
-rw-r--r-- | cmake/mysql_version.cmake | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/cmake/mysql_version.cmake b/cmake/mysql_version.cmake index d9f6b777536..3a61bcf40ab 100644 --- a/cmake/mysql_version.cmake +++ b/cmake/mysql_version.cmake @@ -108,17 +108,7 @@ IF(NOT CPACK_SOURCE_PACKAGE_FILE_NAME) ENDIF() SET(CPACK_PACKAGE_VENDOR "Sun Microsystems, Inc") SET(CPACK_SOURCE_GENERATOR "TGZ") -SET(CPACK_SOURCE_IGNORE_FILES - \\\\.bzr/ - \\\\.bzr-mysql - .bzrignore - CMakeCache.txt - /CMakeFiles/ - /version_resources/ - /_CPack_Packages/ - $.gz - $.zip -) +INCLUDE(cpack_source_ignore_files) # Defintions for windows version resources SET(PRODUCTNAME "MySQL Server") |