Changeset 1409

Show
Ignore:
Timestamp:
08/01/08 11:24:53 (4 months ago)
Author:
timdewhirst
Message:

ool
- ensure header guard is a *little* less likely to have been used
- omit subdirectories if GLEW is not available

Location:
trunk/src/openobjectlib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/openobjectlib/CMakeLists.txt

    r1367 r1409  
    1 add_subdirectory( sg ) 
    2 add_subdirectory( plugins ) 
     1 
     2find_package( GLEW ) 
     3if ( GLEW_FOUND ) 
     4  add_subdirectory( sg ) 
     5  add_subdirectory( plugins ) 
     6endif ( GLEW_FOUND ) 
  • trunk/src/openobjectlib/sg/config.hpp

    r1367 r1409  
    66// For more information, see http://www.openlibraries.org. 
    77 
    8 #ifndef CONFIG_INC_ 
    9 #define CONFIG_INC_ 
     8#ifndef OPENOBJECTLIB_CONFIG_INC_ 
     9#define OPENOBJECTLIB_CONFIG_INC_ 
    1010 
    1111#ifdef WIN32