termux-packages/x11-packages/sfml/cmake-Config.cmake.patch

24 lines
602 B
Diff
Raw Normal View History

2022-04-22 18:38:32 +02:00
--- a/cmake/Config.cmake
+++ b/cmake/Config.cmake
@@ -16,9 +16,9 @@
message(FATAL_ERROR "Unsupported architecture")
return()
endif()
-elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
+elseif(TRUE)
set(SFML_OS_UNIX 1)
- if(ANDROID)
+ if(FALSE)
set(SFML_OS_ANDROID 1)
# use the OpenGL ES implementation on Android
set(OPENGL_ES 1)
@@ -55,7 +55,7 @@
return()
endif()
endif()
-elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
+elseif(FALSE)
set(SFML_OS_ANDROID 1)
# use the OpenGL ES implementation on Android