Skip to content

Commit

Permalink
Merge pull request #2361 from frenzibyte/fix-cmake-on-android
Browse files Browse the repository at this point in the history
Fix CMake failing with Android NDK 27+
  • Loading branch information
HansKristian-Work authored Aug 20, 2024
2 parents 7af81ed + f51773b commit 5c42447
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ if (${CMAKE_VERSION} VERSION_GREATER "3.0.1")
cmake_policy(SET CMP0048 NEW)
endif()

# Avoid error on Android NDK 27+'s CMake files
cmake_policy(SET CMP0057 NEW)

project(SPIRV-Cross LANGUAGES CXX C)
enable_testing()

Expand Down

0 comments on commit 5c42447

Please sign in to comment.