mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Touch UI support for desktop builds (#10729)
This commit is contained in:
parent
9f85862b7c
commit
3dcf9e963e
16 changed files with 89 additions and 51 deletions
|
@ -101,6 +101,12 @@ endif()
|
|||
|
||||
option(ENABLE_GLES "Use OpenGL ES instead of OpenGL" FALSE)
|
||||
mark_as_advanced(ENABLE_GLES)
|
||||
|
||||
option(ENABLE_TOUCH "Enable Touchscreen support" FALSE)
|
||||
if(ENABLE_TOUCH)
|
||||
add_definitions(-DHAVE_TOUCHSCREENGUI)
|
||||
endif()
|
||||
|
||||
if(BUILD_CLIENT)
|
||||
# transitive dependency from Irrlicht (see longer explanation below)
|
||||
if(NOT WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue