aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2024-09-22 17:00:38 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-09-22 17:21:10 +0200
commit327110ff8c5965eaae92f363f06b04a4986b6ef7 (patch)
tree92d7160f34f1124086b4ec98b1e438ba3aa0824a /cmake
parent511b991e66892b4bb8176ce64c0e8fefb300f638 (diff)
downloadrneovim-327110ff8c5965eaae92f363f06b04a4986b6ef7.tar.gz
rneovim-327110ff8c5965eaae92f363f06b04a4986b6ef7.tar.bz2
rneovim-327110ff8c5965eaae92f363f06b04a4986b6ef7.zip
build(cmake): remove unnecessary policy code
Policy CMP0092 is by default on for minimum cmake versions above 3.15.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/Deps.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmake/Deps.cmake b/cmake/Deps.cmake
index 398d9564cd..519826654f 100644
--- a/cmake/Deps.cmake
+++ b/cmake/Deps.cmake
@@ -18,11 +18,6 @@ if(APPLE)
list(APPEND DEPS_CMAKE_ARGS -D CMAKE_FIND_FRAMEWORK=${CMAKE_FIND_FRAMEWORK})
endif()
-# Can be removed once minimum version is at least 3.15
-if(POLICY CMP0092)
- list(APPEND DEPS_CMAKE_ARGS -D CMAKE_POLICY_DEFAULT_CMP0092=NEW)
-endif()
-
find_program(CACHE_PRG NAMES ccache sccache)
if(CACHE_PRG)
set(CMAKE_C_COMPILER_LAUNCHER ${CMAKE_COMMAND} -E env CCACHE_SLOPPINESS=pch_defines,time_macros ${CACHE_PRG})