From fb67a2f660ebfbfef26ddbc52190fe85eba0c37d Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 8 May 2016 07:28:34 -0700 Subject: [PATCH] Fix building source package --- .gitignore | 3 ++- CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a164d5d5..c57070c5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,8 +9,9 @@ virtualenv *.a *.so* *.zip -/*.cmake cmake_install.cmake +CPack*.cmake +fmt-*.cmake CTestTestfile.cmake CMakeCache.txt CMakeFiles diff --git a/CMakeLists.txt b/CMakeLists.txt index cfd6690b..1028dbe3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -93,7 +93,7 @@ if (MASTER_PROJECT AND EXISTS ${gitignore}) string(REPLACE "*" ".*" line "${line}") set(ignored_files ${ignored_files} "${line}$" "${line}/") endforeach () - set(ignored_files ${ignored_files} ${PROJECT_BINARY_DIR} + set(ignored_files ${ignored_files} /.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees) set(CPACK_SOURCE_GENERATOR ZIP)