Fixing variable name
There is no variable named CMAKE_SOURCE_IGNORE_FILES
in the cmake
documentation. Thus I assume that CPACK_SOURCE_IGNORE_FILES
was
meant, which is also used in the example below.
I've made a small research using google https://www.google.com/search?q=%22CMAKE_SOURCE_IGNORE_FILES%22
and I see only results referring to this awesome "Modern CMake" Book. Hopefully that helps