/indra/cmake/Glui.cmake
CMake | 28 lines | 23 code | 4 blank | 1 comment | 8 complexity | ac60eea54e4ae1d78aed95995d968045 MD5 | raw file
Possible License(s): LGPL-2.1
- # -*- cmake -*-
- include(Linking)
- include(Prebuilt)
- if (STANDALONE)
- set(GLUI OFF CACHE BOOL
- "GLUI support for the llplugin/llmedia test apps.")
- else (STANDALONE)
- use_prebuilt_binary(glui)
- set(GLUI ON CACHE BOOL
- "GLUI support for the llplugin/llmedia test apps.")
- endif (STANDALONE)
- 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)