aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authordundargoc <gocundar@gmail.com>2022-08-09 17:02:51 +0200
committerdundargoc <gocdundar@gmail.com>2022-09-08 14:15:13 +0200
commit42aeb5c5b18af1362362a2e6bdf10a2a4ec70f0f (patch)
tree1df7a6ec98eebedcb51846dcd60a41ad37341039 /cmake
parentb635f7ed413256a47cf20b6d8b4a077f77095ae4 (diff)
downloadrneovim-42aeb5c5b18af1362362a2e6bdf10a2a4ec70f0f.tar.gz
rneovim-42aeb5c5b18af1362362a2e6bdf10a2a4ec70f0f.tar.bz2
rneovim-42aeb5c5b18af1362362a2e6bdf10a2a4ec70f0f.zip
build: remove unnecessary policy related code
Having cmake version 3.10 as the required minimum version ensures these are set to new by default.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/RunTests.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmake/RunTests.cmake b/cmake/RunTests.cmake
index e07c6dd174..86ce22de72 100644
--- a/cmake/RunTests.cmake
+++ b/cmake/RunTests.cmake
@@ -1,11 +1,6 @@
# Set LC_ALL to meet expectations of some locale-sensitive tests.
set(ENV{LC_ALL} "en_US.UTF-8")
-if(POLICY CMP0012)
- # Handle CI=true, without dev warnings.
- cmake_policy(SET CMP0012 NEW)
-endif()
-
set(ENV{VIMRUNTIME} ${WORKING_DIR}/runtime)
set(ENV{NVIM_RPLUGIN_MANIFEST} ${BUILD_DIR}/Xtest_rplugin_manifest)
set(ENV{XDG_CONFIG_HOME} ${BUILD_DIR}/Xtest_xdg/config)