realm / realm-kotlin

Kotlin Multiplatform and Android SDK for the Realm Mobile Database: Build Better Apps Faster.
Apache License 2.0
880 stars 52 forks source link

Remove cmake required fixed version #1711

Closed sync-by-unito[bot] closed 2 months ago

sync-by-unito[bot] commented 3 months ago

The kotlin project defines a fixed version for cmake, causing some extra steps as it forces to search, download and install it manually rather than using an app repository like brew.

Remove the fixed version to rely on cores minimum one.

sync-by-unito[bot] commented 3 months ago

➤ PM Bot commented:

Jira ticket: RKOTLIN-1062

rorbech commented 2 months ago

This was tried fixed by #1710, but that caused cinterop Android build to use the default cmake for the used NDK (23.2.8568313). This does not meet the cmake_minimum_required of core, so reworked to used whatever cmake is available on the path and rely on cmake to exit if that does not meet the minimum required version.