diff options
author | Andrew Meadows <andrew.l.meadows@gmail.com> | 2024-10-03 12:08:26 -0700 |
---|---|---|
committer | Andrew Meadows <andrew.l.meadows@gmail.com> | 2024-10-03 12:08:26 -0700 |
commit | ea650ac073aeb03ab99b88c41f51ce636ce37982 (patch) | |
tree | ef00935573ba1cab6955b9d204e35209062f84e9 /indra/cmake/LLWindow.cmake | |
parent | 0617923ae7f450ece7288f8a73446c45a8ed32db (diff) |
fix GameControl save settings, fix linux build
Diffstat (limited to 'indra/cmake/LLWindow.cmake')
-rw-r--r-- | indra/cmake/LLWindow.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/cmake/LLWindow.cmake b/indra/cmake/LLWindow.cmake index b2c1792df1..a5791f1bef 100644 --- a/indra/cmake/LLWindow.cmake +++ b/indra/cmake/LLWindow.cmake @@ -6,3 +6,8 @@ include(Prebuilt) include(SDL2) include_guard() + +if (LINUX) + # linux uses SDL2 for window and keyboard + target_compile_definitions( ll::SDL2 INTERFACE LL_USE_SDL_KEYBOARD=1 ) +endif (LINUX) |