aboutsummaryrefslogtreecommitdiff
path: root/src/content_object.h
diff options
context:
space:
mode:
authorShadowNinja <noreply@gmail.com>2013-08-02 16:41:36 -0400
committerShadowNinja <shadowninja@minetest.net>2013-11-02 14:01:10 -0400
commit06a5eceb81f8f5006814e567790166a0d7693972 (patch)
tree1a78385f7895f00cd2512dee3d934d3787b7165a /src/content_object.h
parent2636c92075196b4c2cd65327b1f839f1e8919b83 (diff)
downloadminetest-06a5eceb81f8f5006814e567790166a0d7693972.tar.gz
minetest-06a5eceb81f8f5006814e567790166a0d7693972.tar.bz2
minetest-06a5eceb81f8f5006814e567790166a0d7693972.zip
Add basic protection support to builtin
Diffstat (limited to 'src/content_object.h')
0 files changed, 0 insertions, 0 deletions
hl slc">#------------------------------------------------------------------- # This file is stolen from part of the CMake build system for OGRE (Object-oriented Graphics Rendering Engine) http://www.ogre3d.org/ # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- # - Try to find OpenGLES and EGL # Once done this will define # # OPENGLES2_FOUND - system has OpenGLES # OPENGLES2_INCLUDE_DIR - the GL include directory # OPENGLES2_LIBRARIES - Link these to use OpenGLES # # EGL_FOUND - system has EGL # EGL_INCLUDE_DIR - the EGL include directory # EGL_LIBRARIES - Link these to use EGL # Win32, Apple, and Android are not tested! # Linux tested and works if(WIN32) if(CYGWIN) find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h) find_library(OPENGLES2_LIBRARY libGLESv2) else() if(BORLAND) set(OPENGLES2_LIBRARY import32 CACHE STRING "OpenGL ES 2.x library for Win32") else() # TODO # set(OPENGLES_LIBRARY ${SOURCE_DIR}/Dependencies/lib/release/libGLESv2.lib CACHE STRING "OpenGL ES 2.x library for win32" endif() endif() elseif(APPLE) create_search_paths(/Developer/Platforms) findpkg_framework(OpenGLES2) set(OPENGLES2_LIBRARY "-framework OpenGLES") else() find_path(OPENGLES2_INCLUDE_DIR GLES2/gl2.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(OPENGLES2_LIBRARY NAMES GLESv2 PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) if(NOT BUILD_ANDROID) find_path(EGL_INCLUDE_DIR EGL/egl.h PATHS /usr/openwin/share/include /opt/graphics/OpenGL/include /usr/X11R6/include /usr/include ) find_library(EGL_LIBRARY NAMES EGL PATHS /opt/graphics/OpenGL/lib /usr/openwin/lib /usr/shlib /usr/X11R6/lib /usr/lib ) # On Unix OpenGL usually requires X11. # It doesn't require X11 on OSX. if(OPENGLES2_LIBRARY) if(NOT X11_FOUND) include(FindX11)