diff options
author | Nicky Dasmijn <nicky.dasmijn@posteo.nl> | 2024-04-05 19:25:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-05 20:25:02 +0300 |
commit | 57d423745fd1d3d0ea6a0c69b869a20c27e27fc5 (patch) | |
tree | f590e086983c7277e4b05fcd54c3eebf6b12f43a /indra/cmake/LLWindow.cmake | |
parent | cc8d71c18c124138e76e85e663498d2ee9776b3c (diff) |
Linux viewer (ReleaseOS) resurrection (#1099)
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
Diffstat (limited to 'indra/cmake/LLWindow.cmake')
-rw-r--r-- | indra/cmake/LLWindow.cmake | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/indra/cmake/LLWindow.cmake b/indra/cmake/LLWindow.cmake index b36e970560..23f4115aeb 100644 --- a/indra/cmake/LLWindow.cmake +++ b/indra/cmake/LLWindow.cmake @@ -10,13 +10,11 @@ add_library( ll::SDL INTERFACE IMPORTED ) if (LINUX) #Must come first as use_system_binary can exit this file early - target_compile_definitions( ll::SDL INTERFACE LL_SDL=1) - - use_system_binary(SDL) - use_prebuilt_binary(SDL) - - target_include_directories( ll::SDL SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include) - target_link_libraries( ll::SDL INTERFACE SDL directfb fusion direct X11) -endif (LINUX) + target_compile_definitions( ll::SDL INTERFACE LL_SDL_VERSION=2 LL_SDL) + #find_package(SDL2 REQUIRED) + #target_link_libraries( ll::SDL INTERFACE SDL2::SDL2 SDL2::SDL2main X11) + use_prebuilt_binary(SDL2) + target_link_libraries( ll::SDL INTERFACE SDL2 X11) +endif (LINUX) |