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


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

~/Downloads/neovim-0.7.2 via △ v3.23.2
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
-- 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):

  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

  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

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?