Skip to content
Snippets Groups Projects
Commit 5320c6b3 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Reporting OTB_GL_USE_ACCEL in otbConfigure.h so that external apps do not...

ENH: Reporting OTB_GL_USE_ACCEL in otbConfigure.h so that external apps do not need to care about it
parent c76a0f94
No related branches found
No related tags found
No related merge requests found
......@@ -230,13 +230,6 @@ IF(OTB_USE_VISU_GUI)
#-------------------------------
OPTION(OTB_GL_USE_ACCEL "Use video card acceleration." ON)
MARK_AS_ADVANCED(OTB_GL_USE_ACCEL)
IF(OTB_GL_USE_ACCEL)
# Add compiler option
ADD_DEFINITIONS(-DOTB_GL_USE_ACCEL)
ENDIF(OTB_GL_USE_ACCEL)
#-------------------------------
# FLTK Library
......
......@@ -18,7 +18,7 @@
#ifndef __otbImageWidgetBase_txx
#define __otbImageWidgetBase_txx
#include "otbConfigure.h"
#include "itkImageRegionConstIteratorWithIndex.h"
#include "itkMacro.h"
#include "otbMacro.h"
......
......@@ -51,3 +51,6 @@
#define OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING @OTB_STREAM_IMAGE_SIZE_TO_ACTIVATE_STREAMING@
#define OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING @OTB_STREAM_MAX_SIZE_BUFFER_FOR_STREAMING@
/* Use opengl acceleration */
#cmakedefine OTB_GL_USE_ACCEL
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment