PageRenderTime 8ms CodeModel.GetById 2ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/indra/cmake/Glui.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 28 lines | 23 code | 4 blank | 1 comment | 8 complexity | ac60eea54e4ae1d78aed95995d968045 MD5 | raw file
 1# -*- cmake -*-
 2include(Linking)
 3include(Prebuilt)
 4
 5if (STANDALONE)
 6    set(GLUI OFF CACHE BOOL
 7        "GLUI support for the llplugin/llmedia test apps.")
 8else (STANDALONE)
 9    use_prebuilt_binary(glui)
10    set(GLUI ON CACHE BOOL
11        "GLUI support for the llplugin/llmedia test apps.")
12endif (STANDALONE)
13
14if (LINUX)
15    set(GLUI ON CACHE BOOL
16        "llplugin media apps HACK for Linux.")
17endif (LINUX)
18
19if (DARWIN OR LINUX)
20    set(GLUI_LIBRARY
21        glui)
22endif (DARWIN OR LINUX)
23
24if (WINDOWS)
25    set(GLUI_LIBRARY
26        debug glui32.lib
27        optimized glui32.lib)
28endif (WINDOWS)