GEOS-ESM / ESMA_cmake

Custom CMake macros for the GEOS Earth System Model
Apache License 2.0
4 stars 9 forks source link

Add more ignores to CPack #283

Closed mathomp4 closed 2 years ago

mathomp4 commented 2 years ago

This PR attempts to fix a weird CPack issue reported by @sdrabenh and @Jcampbell-8. I think the issue is that an editor has made a tempfile in the model that is seen by CMake at CMake time. But by the time CPack runs at the end, the tempfile is gone causing a fault.

So, we add various tempfile patterns to CPACK_SOURCE_IGNORE_FILES to fix this.