That’s interesting because CMake documentation (https://cmake.org/cmake/help/v3.20/manual/cmake.1.html#run-a-command-line-tool) does not list --exclude
as an option. Can it be that what you’ve tried outside CMake is tar...
and not cmake -E tar...
?
1 Like