All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

OPEN-38: autobuild support for StandAlone

Review Request #167 - Created Feb. 26, 2011 and submitted

Aleric Inglewood Reviewers
viewer
OPEN-38
None oz_linden/viewer-autobuild
Oz: please merge into your repository.
configures, compiles, runs.
indra/cmake/FindGLH.cmake
New File

   
1
# -*- cmake -*-

   
2

   

   
3
# - Find GLH

   
4
# Find the Graphic Library Helper includes.

   
5
# This module defines

   
6
#  GLH_INCLUDE_DIR, where to find glh/glh_linear.h.

   
7
#  GLH_FOUND, If false, do not try to use GLH.

   
8

   

   
9
find_path(GLH_INCLUDE_DIR glh/glh_linear.h

   
10
    NO_SYSTEM_ENVIRONMENT_PATH

   
11
    )

   
12

   

   
13
if (GLH_INCLUDE_DIR)

   
14
  set(GLH_FOUND "YES")

   
15
else (GLH_INCLUDE_DIR)

   
16
  set(GLH_FOUND "NO")

   
17
endif (GLH_INCLUDE_DIR)

   
18

   

   
19
if (GLH_FOUND)

   
20
  if (NOT GLH_FIND_QUIETLY)

   
21
    message(STATUS "Found GLH: ${GLH_INCLUDE_DIR}")

   
22
    set(GLH_FIND_QUIETLY TRUE) # Only alert us the first time

   
23
  endif (NOT GLH_FIND_QUIETLY)

   
24
else (GLH_FOUND)

   
25
  if (GLH_FIND_REQUIRED)

   
26
    message(FATAL_ERROR "Could not find GLH")

   
27
  endif (GLH_FIND_REQUIRED)

   
28
endif (GLH_FOUND)

   
29

   

   
30
mark_as_advanced(GLH_INCLUDE_DIR)
indra/cmake/GLH.cmake
New File
 
indra/cmake/LLRender.cmake
Revision 5f0ab9443ece New Change
 
indra/cmake/LLSharedLibs.cmake
Revision 5f0ab9443ece New Change
 
indra/cmake/Linking.cmake
Revision 5f0ab9443ece New Change
 
indra/linux_crash_logger/CMakeLists.txt
Revision 5f0ab9443ece New Change
 
  1. indra/cmake/FindGLH.cmake: Loading...
  2. indra/cmake/GLH.cmake: Loading...
  3. indra/cmake/LLRender.cmake: Loading...
  4. indra/cmake/LLSharedLibs.cmake: Loading...
  5. indra/cmake/Linking.cmake: Loading...
  6. indra/linux_crash_logger/CMakeLists.txt: Loading...