Python Installation Fix, 1.0 branch (2018.04.20.)
This is to fix the issue discussed in:
https://gitlab.kitware.com/cmake/cmake/issues/17926
Turns out that one needs to be more explicit with the dependency setup for add_custom_command(...)
, to avoid situations where the name of a file in the source tree would look like a file/link that is created during the build in the binary/build directory.
This should solve the issues reported by @chunhui for the ART package. (cc-ing @tcuhadar, as she'll be interested in this as well...) I tested locally that the ART package gets reasonable makefiles made after this change.