summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
blob: f59027f2f7bda0966ce06e5704f81a5fdc614a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# -*- cmake -*-

include(Variables)
include(GLEXT)
include(Prebuilt)
include(SDL2)

include_guard()

if (NOT (WINDOWS OR DARWIN))
  # linux uses SDL2 for window and keyboard
  target_compile_definitions( ll::SDL2 INTERFACE LL_USE_SDL_WINDOW=1 LL_USE_SDL_KEYBOARD=1 )
endif (NOT (WINDOWS OR DARWIN))