summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
blob: 6ac2b58017b3a4af6ddd74a477ca4952d0d1c3ad (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)
  set_target_include_dirs( ll::sdl ${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)