termux-packages/x11-packages/sfml/cmake-Config.cmake.patch
2022-04-23 20:27:51 +09:00

24 lines
602 B
Diff

--- 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