summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-10-10 23:12:36 (GMT)
committerAleix Pol <aleixpol@kde.org>2016-10-10 23:12:36 (GMT)
commita872aa34d73e93191bb24ecf3a007ad3958f1020 (patch)
treeb9772e862b470232abade0321e3ceaa31552a6a9
parent30429a0968179ac0ebc8e53f195233baf2c88952 (diff)
Use OpenGL variables correctly
-rw-r--r--analitzaplot/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/analitzaplot/CMakeLists.txt b/analitzaplot/CMakeLists.txt
index 38092e7..7bb30b3 100644
--- a/analitzaplot/CMakeLists.txt
+++ b/analitzaplot/CMakeLists.txt
@@ -60,7 +60,7 @@ set ( analitzaplot_SRCS
plotter2d.cpp
plotter3d_es.cpp
)
-if(OPENGL_FOUND)
+if(HAVE_OPENGL)
include_directories ( ${OPENGL_INCLUDE_DIR} )
list(APPEND analitzaplot_SRCS plotter3d.cpp)
endif()
@@ -108,7 +108,7 @@ install(FILES
if(HAVE_OPENGL)
install(FILES
plotter3d.h DESTINATION ${ANALITZA_INCLUDE_INSTALL_DIR}/analitzaplot/ COMPONENT Devel)
-endif(HAVE_OPENGL)
+endif()
add_subdirectory(data)
add_subdirectory(tests)