mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 15:21:04 +00:00
Don't include .buildinfo and .doctrees in the source package
Thanks to Dave Johansen.
This commit is contained in:
parent
75fdfe3e0e
commit
005379ac6f
@ -143,7 +143,8 @@ if (EXISTS .gitignore)
|
|||||||
string(REPLACE "*" ".*" line "${line}")
|
string(REPLACE "*" ".*" line "${line}")
|
||||||
set(ignored_files ${ignored_files} "${line}$" "${line}/")
|
set(ignored_files ${ignored_files} "${line}$" "${line}/")
|
||||||
endforeach ()
|
endforeach ()
|
||||||
set(ignored_files ${ignored_files} /.git /breathe /format-benchmark sphinx/)
|
set(ignored_files ${ignored_files}
|
||||||
|
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
|
||||||
|
|
||||||
set(CPACK_SOURCE_GENERATOR ZIP)
|
set(CPACK_SOURCE_GENERATOR ZIP)
|
||||||
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})
|
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})
|
||||||
|
Loading…
Reference in New Issue
Block a user