From 155d6c686a87fdc56b1a21a9b106444dbdfa6073 Mon Sep 17 00:00:00 2001 From: Taylor Howell Date: Mon, 15 Sep 2025 13:30:56 +0100 Subject: [PATCH] remove UpdateCMakeMinimumRequired.cmake --- cmake/UpdateCMakeMinimumRequired.cmake | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 cmake/UpdateCMakeMinimumRequired.cmake diff --git a/cmake/UpdateCMakeMinimumRequired.cmake b/cmake/UpdateCMakeMinimumRequired.cmake deleted file mode 100644 index 5d8d6599..00000000 --- a/cmake/UpdateCMakeMinimumRequired.cmake +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 2025 DeepMind Technologies Limited -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Replace cmake_minimum_required version. - -file(READ "${TARGET_FILE}" FILE_CONTENTS) - -string(REGEX REPLACE - "cmake_minimum_required\\(VERSION [0-9\\.]+\\)" - "cmake_minimum_required(VERSION ${DESIRED_VERSION})" - NEW_CONTENTS - "${FILE_CONTENTS}" -) - -file(WRITE "${TARGET_FILE}" "${NEW_CONTENTS}")