From bcebd97306a7d3fd16c91ed140745183f3d801f0 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Wed, 24 Feb 2010 20:07:05 +0100 Subject: #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. --- cmake/mysql_version.cmake | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'cmake/mysql_version.cmake') 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") -- cgit v1.2.1