mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 05:35:48 +00:00
Fix Android building with cmake 4.0
Set cmake policies to 3.5 when building with cmake 4.0 With cmake policies set to 4.0 Android fails to link correctly. It is fixed by running the cmake command twice before doing the make build or setting the cmake policies to 3.5
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
if (NOT CMAKE_VERSION VERSION_LESS "4.0")
|
||||
cmake_minimum_required(VERSION 4.0)
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
else()
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user