aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-08 14:51:27 +0200
committerGitHub <noreply@github.com>2022-09-08 14:51:27 +0200
commitbb35422659bdc619d95cb87554632018a5a15636 (patch)
tree1cdbc6e2d249a689bc0a5355901b5463e511aabe /cmake
parent11167ab6d569994dd0a4f58155c84b118706380c (diff)
parent7ae74998f0c272f9bc242f9195e376ee049d21da (diff)
downloadrneovim-bb35422659bdc619d95cb87554632018a5a15636.tar.gz
rneovim-bb35422659bdc619d95cb87554632018a5a15636.tar.bz2
rneovim-bb35422659bdc619d95cb87554632018a5a15636.zip
Merge pull request #19958 from dundargoc/build/cmake/cleanup
build: remove ARGS from add_custom_command It's a command that doesn't do anything, kept only for compatibility reasons. build: remove unnecessary policy related code Having cmake version 3.10 as the required minimum version ensures these are set to new by default. build: replace deprecated CMAKE_COMPILER_IS_GNUCC variable Instead use the recommended form CMAKE_C_COMPILER_ID MATCHES "GNU" build: remove unnecessary build functions These functions serve no purpose if they're only used as intermediary functions that passes on arguments to ExternalProject_Add.
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)