From f341a783969dd44d409067233c83b97acac25fa2 Mon Sep 17 00:00:00 2001 From: David A Minton Date: Mon, 18 Sep 2023 09:08:04 -0400 Subject: [PATCH] Added policy statement to get rid of warning when doing a distclean --- distclean.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/distclean.cmake b/distclean.cmake index c0ce74642..19d766f08 100644 --- a/distclean.cmake +++ b/distclean.cmake @@ -12,6 +12,7 @@ # We want to start from the top of the source dir, so if we are in build # we want to start one directory up +CMAKE_POLICY(SET CMP0009 NEW) GET_FILENAME_COMPONENT(BASEDIR ${CMAKE_SOURCE_DIR} NAME) IF(${BASEDIR} STREQUAL "build") SET(TOPDIR "${CMAKE_SOURCE_DIR}/..")