neovim

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

commit 118fd8367c3953abb43800a7c1ea0bcc0221e9cd
parent 74b2f6c3d95647ad07f56bf9ed6865a8db3dfb97
Author: James McCoy <jamessan@jamessan.com>
Date:   Sun, 10 Mar 2024 20:02:32 -0400

fix: deduplicate gen_cflags

Since many of the targets have common include paths, `gen_cflags`
accumulates a lot of duplicate flags.

Diffstat:
Msrc/nvim/CMakeLists.txt | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/nvim/CMakeLists.txt b/src/nvim/CMakeLists.txt @@ -469,6 +469,8 @@ foreach(target ${targets}) endif() endforeach() +list(REMOVE_DUPLICATES gen_cflags) + if(APPLE AND CMAKE_OSX_SYSROOT) list(APPEND gen_cflags "-isysroot" "${CMAKE_OSX_SYSROOT}") endif()