summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
blob: 7792bee355cf1b2e57c534d5a1383235aa863cc9 (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_KEYBOARD=1 )
endif (NOT (WINDOWS OR DARWIN))