summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-mrproper.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-mrproper.cmake')
-rw-r--r--cmake/opentrack-mrproper.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/opentrack-mrproper.cmake b/cmake/opentrack-mrproper.cmake
index faa11bd4..6efb0be3 100644
--- a/cmake/opentrack-mrproper.cmake
+++ b/cmake/opentrack-mrproper.cmake
@@ -7,6 +7,8 @@
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
+include_guard(GLOBAL)
+
function(cleanup_build_dir)
file(GLOB_RECURSE files LIST_DIRECTORIES TRUE RELATIVE "${CMAKE_BINARY_DIR}" "*")