summaryrefslogtreecommitdiff
path: root/indra/cmake/Glui.cmake
blob: db353a91ecaa9d85d1c3c0a1920980c26c16d756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- cmake -*-
include(Linking)
include(Prebuilt)

if (USESYSTEMLIBS)
    set(GLUI OFF CACHE BOOL
        "GLUI support for the llplugin/llmedia test apps.")
else (USESYSTEMLIBS)
    use_prebuilt_binary(glui)
    set(GLUI ON CACHE BOOL
        "GLUI support for the llplugin/llmedia test apps.")
endif (USESYSTEMLIBS)

if (LINUX)
    set(GLUI ON CACHE BOOL
        "llplugin media apps HACK for Linux.")
endif (LINUX)

if (DARWIN OR LINUX)
    set(GLUI_LIBRARY
        glui)
endif (DARWIN OR LINUX)

if (WINDOWS)
    set(GLUI_LIBRARY
        debug glui32.lib
        optimized glui32.lib)
endif (WINDOWS)