Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare specific version for CMake #276

Open
emanuelb opened this issue May 28, 2021 · 0 comments
Open

Declare specific version for CMake #276

emanuelb opened this issue May 28, 2021 · 0 comments

Comments

@emanuelb
Copy link

Building the android app show many warnings such as:

/home/appuser/app/eclair/eclair-mobile/app/CMakeLists.txt : C/C++ release|armeabi-v7a : CMake Warning at /home/appuser/app/sdk/ndk/23.0.7196353/build/cmake/android-legacy.toolchain.cmake:427 (message):
  An old version of CMake is being used that cannot automatically detect
  compiler attributes.  Compiler identification is being bypassed.  Some
  values may be wrong or missing.  Update to CMake 3.19 or newer to use
  CMake's built-in compiler identification.
Call Stack (most recent call first):
  /home/appuser/app/sdk/ndk/23.0.7196353/build/cmake/android.toolchain.cmake:55 (include)
  /home/appuser/app/sdk/cmake/3.10.2.4988404/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:94 (include)
  CMakeLists.txt

By declaring a specific version for cmake, see:
https://developer.android.com/studio/projects/install-ndk#vanilla_cmake
a newer version can be declared, also using static value will help to reproducible-builds as well #232 (as the same version will be used as declared in build.gradle file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant