Merge commit d30f2cb6 from release-2020 into master
[alexxy/gromacs.git] / cmake / gmxCPackUtilities.cmake
index 5a5c267c41a8623e2b8b6ee7978372b4e47955b7..11e1bac0bb89353f66341e3f8c691005e5572935 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2014,2015,2016,2017,2018, by the GROMACS development team, led by
+# Copyright (c) 2014,2015,2016,2017,2018,2019,2020, by the GROMACS development team, led by
 # Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
 # and including many others, as listed in the AUTHORS file in the
 # top-level source directory and at http://www.gromacs.org.
@@ -125,7 +125,10 @@ function (gmx_cpack_write_config)
         \\\\.gitattributes
         INSTALL-dev
         cmake/FindCUDA\\\\.cmake
-        cmake/FindCUDA)
+        cmake/FindCUDA
+        # both below are needed for CI not to include the build directories
+        ccache
+        build-package)
     set(CPACK_SOURCE_IGNORE_FILES ${FILES_NOT_INCLUDED_IN_SOURCE_PACKAGE})
 
     # Get the list of directories added with gmx_cpack_add_generated_source_directory()