mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +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 parent
6ed8b4670f
commit
368db48054
1 file changed
+1
-1
+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