Files
termux-packages/x11-packages/sfml/cmake-Config.cmake.patch
termux-pacman-bot 850aaa0e3b bump(x11/sfml): 2.6.2
Remove workaround with pkgconfig file which was fixed in
5e18e5403b
2024-11-11 08:06:58 +00:00

25 lines
657 B
Diff

--- a/cmake/Config.cmake
+++ b/cmake/Config.cmake
@@ -21,10 +21,10 @@
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
@@ -64,7 +64,7 @@
set(SFML_OS_MACOSX 1)
# don't use the OpenGL ES implementation on Mac OS X
set(OPENGL_ES 0)
-elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Android")
+elseif(FALSE)
set(SFML_OS_ANDROID 1)
# use the OpenGL ES implementation on Android
set(OPENGL_ES 1)