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

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

include_guard()
create_target(ll::sdl)

if (LINUX)
  use_prebuilt_binary(SDL)
  target_include_directories( ll::sdl SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/i686-linux)
  target_link_libraries( ll::sdl INTERFACE SDL directfb fusion direct X11)
  target_compile_definitions( ll::sdl INTERFACE LL_SDL=1)
endif (LINUX)