summaryrefslogtreecommitdiff
path: root/indra/cmake/LLWindow.cmake
blob: 2bbaff942dd8534e1399bfd2af3bc423860fa121 (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)
  set_target_libraries( ll::sdl SDL directfb fusion direct X11)
  target_compile_definitions( ll::sdl INTERFACE LL_SDL=1)
endif (LINUX)