Commit Graph

2 Commits

Author SHA1 Message Date
Paolo Monteverde
572c9921d4 Fixes PreventInSourceBuilds.cmake to work with add_subdirectory 2022-01-24 16:48:43 +01:00
Hans Johnson
8954092f0a
ENH: Prevent cmake in source builds (#1091)
* ENH: Prevent cmake in source builds

Building directly inside the root of the source tree
can cause problems where the build intermediate files
overwrite or conflict with the intended source code
files.

This modification identifies this problem and
issues failure messages and suggestions to over
come the problem with more robust build suggestion.

Co-authored-by: Jordan Bayles <jophba@chromium.org>
2020-11-06 13:35:51 -08:00