0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-07-09 10:08:58 +00:00
Files
termux-packages/x11-packages/sfml/cmake-Config.cmake.patch
Biswapriyo Nath 2ad4e335af bump(x11/sfml): 2.6.2
Remove workaround with pkgconfig file which was fixed in
5e18e5403b
2024-11-11 13:08:53 +05:30

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)