浏览代码

FetchContent: Remove unnecessary policy CMP0114 setting

Now that `CMAKE_VERSION` is at least 3.19, the policy will be set to NEW
implicitly by the version.
Brad King 5 年之前
父节点
当前提交
ac765f5eff
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Modules/FetchContent/CMakeLists.cmake.in

+ 0 - 1
Modules/FetchContent/CMakeLists.cmake.in

@@ -2,7 +2,6 @@
 # file Copyright.txt or https://cmake.org/licensing for details.
 # file Copyright.txt or https://cmake.org/licensing for details.
 
 
 cmake_minimum_required(VERSION ${CMAKE_VERSION})
 cmake_minimum_required(VERSION ${CMAKE_VERSION})
-cmake_policy(SET CMP0114 NEW)
 
 
 # We name the project and the target for the ExternalProject_Add() call
 # We name the project and the target for the ExternalProject_Add() call
 # to something that will highlight to the user what we are working on if
 # to something that will highlight to the user what we are working on if