# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/neovim/hotfix-no-ccache.patch # Copyright (C) 2024 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- neovim-0.10.0/cmake/Deps.cmake.vanilla 2024-06-03 19:06:46.476000000 +0200 +++ neovim-0.10.0/cmake/Deps.cmake 2024-06-03 19:07:46.522000000 +0200 @@ -23,11 +23,13 @@ list(APPEND DEPS_CMAKE_ARGS -D CMAKE_POLICY_DEFAULT_CMP0092=NEW) endif() +if(0) 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}) list(APPEND DEPS_CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER_LAUNCHER:STRING=${CMAKE_C_COMPILER_LAUNCHER}) endif() +endif() # MAKE_PRG if(UNIX)