From 530d0f2e525d50208d80fd1d996ac604100a4838 Mon Sep 17 00:00:00 2001 From: risemeup1 <62429225+risemeup1@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:25:55 +0800 Subject: [PATCH] Revert "set cmake_policy (#53248)" This reverts commit 5cfaa7dd9631aeabcfe8d8c5778373c462caa94a. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fed539e51ec..587e0f9e0e0 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,9 +24,6 @@ endif() # https://cmake.org/cmake/help/v3.0/policy/CMP0026.html?highlight=cmp0026 cmake_policy(SET CMP0026 OLD) cmake_policy(SET CMP0079 NEW) -if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.18) - cmake_policy(SET CMP0104 OLD) -endif() set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(PADDLE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(PADDLE_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}) -- GitLab