mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
ignore the current build directory when packaging
This makes sure that the current build directory is not packaged with the regular source tree when `make package_source` is used.
This commit is contained in:
parent
dcbb6b1e4d
commit
620f999e80
@ -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}
|
||||
set(ignored_files ${ignored_files} ${PROJECT_BINARY_DIR}
|
||||
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
|
||||
|
||||
set(CPACK_SOURCE_GENERATOR ZIP)
|
||||
|
Loading…
Reference in New Issue
Block a user