neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 8ed9c84481a7d0df0708d11ffa538f832591240f
parent c365de1d22de3e70e785267fe19cb9c43b42d355
Author: James McCoy <jamessan@jamessan.com>
Date:   Sat,  5 Mar 2022 15:02:01 -0500

Merge pull request #17597 from dundargoc/build/cmake/fix-warnings

fix cmake warnings
Diffstat:
MCMakeLists.txt | 3+++
Mthird-party/cmake/BuildTreesitterParsers.cmake | 1-
2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -12,6 +12,9 @@ endif() if(POLICY CMP0060) cmake_policy(SET CMP0060 NEW) endif() +if(POLICY CMP0075) + cmake_policy(SET CMP0075 NEW) +endif() # Point CMake at any custom modules we may ship list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") diff --git a/third-party/cmake/BuildTreesitterParsers.cmake b/third-party/cmake/BuildTreesitterParsers.cmake @@ -15,7 +15,6 @@ PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${DEPS_BUILD_DIR}/src/treesitter-c/CMakeLists.txt CMAKE_ARGS -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} - -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_GENERATOR=${CMAKE_GENERATOR} -DCMAKE_GENERATOR_PLATFORM=${CMAKE_GENERATOR_PLATFORM} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}