From 440028eeacaf86f5617c50ac1dd1c0951cf43aa5 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Mon, 20 Jun 2022 12:50:43 +0200 Subject: [PATCH] Go with CMake 3.21.4 --- CMakeLists.txt | 2 +- contrib/building.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4be7d39257..05f736cb59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ if(DEFINED CMAKE_JS_VERSION) endif() endif() -cmake_minimum_required(VERSION 3.23.2) +cmake_minimum_required(VERSION 3.21.4) project(RealmJS) # Use ccache if available diff --git a/contrib/building.md b/contrib/building.md index 63d7298146..0ffba81d0e 100644 --- a/contrib/building.md +++ b/contrib/building.md @@ -46,11 +46,11 @@ The following dependencies are required. All except Xcode can be installed by fo - Newer versions may work, but 13.1 is the current recommended version, which can be downloaded from [Apple](https://developer.apple.com/download/all/?q=xcode%2013.1). To install older Xcode versions, [Xcodes.app](https://github.com/RobotsAndPencils/XcodesApp) is highly recommended - [Node.js](https://nodejs.org/en/) version 13 or later - Consider [using NVM](https://github.com/nvm-sh/nvm#installing-and-updating) to enable fast switching between Node.js & NPM versions -- [CMake](https://cmake.org/) 3.23.2 or later +- [CMake](https://cmake.org/) 3.21.4 or later - [OpenJDK 8](https://openjdk.java.net/install/) - [Android SDK 23+](https://developer.android.com/studio/index.html#command-tools) - Optionally, you can install [Android Studio](https://developer.android.com/studio) -- [Android NDK 21.0](https://developer.android.com/ndk/downloads/index.html) +- [Android NDK 23](https://developer.android.com/ndk/downloads/index.html) - [Android CMake](https://developer.android.com/ndk/guides/cmake) - [Docker](https://www.docker.com/) is used for testing. You can install it through Homebrew: `brew install --cask docker`.