CMake Error at cmake/LibFindMacros.cmake:263 (message)

Hello,

I’m trying to build nvim from source on MacOS BigSur and currently stuck here. Any pointers how i can resolve this ?

~/Downloads/neovim-0.7.2 via △ v3.23.2
> fd libintl ~/.local
/Users/username/.local/share/gettext/libintl.jar
/Users/username/.local/lib/libintl.a
/Users/username/.local/lib/libintl.8.dylib
/Users/username/.local/lib/libintl.la
/Users/username/.local/lib/libintl.dylib
/Users/username/.local/include/libintl.h

~/Downloads/neovim-0.7.2 via △ v3.23.2
> make CMAKE_BUILD_TYPE=Release CMAKE_INSTALL_PREFIX=$HOME/.local/nvim
mkdir -p build
touch build/.ran-third-party-cmake
ninja  -C .deps
ninja: Entering directory `.deps'
[3/3] cd /Users/username/Downloads/neovim-0.7.2/.deps && /Users/username/.local/opt/homebrew/Cellar/cmake/3.23.2/bin/cmake -E touch .third-party
cd build && cmake -G 'Ninja' -DCMAKE_BUILD_TYPE=Release  -DCMAKE_INSTALL_PREFIX=/Users/username/.local/nvim /Users/username/Downloads/neovim-0.7.2/
-- CMAKE_INSTALL_PREFIX=/Users/username/.local/nvim
-- CMAKE_BUILD_TYPE=Release
-- MIN_LOG_LEVEL not specified, default is 3 (ERROR) for release builds
-- Replacing -O3 in CMAKE_C_FLAGS_RELEASE with -O2
-- Unsupported _FORTIFY_SOURCE found, forcing _FORTIFY_SOURCE=1
-- Found TreeSitter 0.6.3
-- Found UNIBILIUM 2.0.0
-- Found LIBVTERM 0.1.4
-- Found Iconv
CMake Error at cmake/LibFindMacros.cmake:263 (message):
  REQUIRED PACKAGE NOT FOUND

  We could not find development headers for LibIntl.  Do you have the
  necessary dev package installed? This package is REQUIRED and you need to
  install it or adjust CMake configuration in order to continue building
  nvim.

  Relevant CMake configuration variables:

    LibIntl_INCLUDE_DIR=<not found>
    LibIntl_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/FindLibIntl.cmake:78 (libfind_process)
  CMakeLists.txt:533 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/username/Downloads/neovim-0.7.2/build/CMakeFiles/CMakeOutput.log".
See also "/Users/username/Downloads/neovim-0.7.2/build/CMakeFiles/CMakeError.log".
make: *** [build/.ran-cmake] Error 1

Just an FYI, on linux and have the same error. I’ve been poking around both the cmake directories, and the hidden cmake config files in the base level repository. I’ve also used curl to download an updated version of libvterm, which is the error that I am seeing boldly, where it looks like the library question for you is libintl.

Did you solve this with a symlink?