From 1f4dbe7e9f9f7dbcfe3b084aeeccb89365c68da7 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Fri, 15 Jul 2011 14:52:56 +0100 Subject: Add the glut include path. --- src/CMakeLists.txt | 1 + src/tools/difftiff/CMakeLists.txt | 4 ++-- src/tools/showtiff/CMakeLists.txt | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5b807e9..5651e4f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -56,6 +56,7 @@ include_directories ( libs/timer glh ${GLEXT_INCLUDE_DIR} + ${GLUT_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR} ${TIFF_INCLUDE_DIR} ) diff --git a/src/tools/difftiff/CMakeLists.txt b/src/tools/difftiff/CMakeLists.txt index b7436af..1a2e362 100644 --- a/src/tools/difftiff/CMakeLists.txt +++ b/src/tools/difftiff/CMakeLists.txt @@ -9,9 +9,9 @@ target_link_libraries (difftiff stats timer ${TIFF_LIBRARY} - ${OPENGL_gl_LIBRARY} - ${OPENGL_glu_LIBRARY} ${GLUT_glut_LIBRARY} + ${OPENGL_glu_LIBRARY} + ${OPENGL_gl_LIBRARY} ) if (WIN32) diff --git a/src/tools/showtiff/CMakeLists.txt b/src/tools/showtiff/CMakeLists.txt index 8b9bbf8..c219dd1 100644 --- a/src/tools/showtiff/CMakeLists.txt +++ b/src/tools/showtiff/CMakeLists.txt @@ -9,9 +9,9 @@ target_link_libraries (showtiff stats timer ${TIFF_LIBRARY} - ${OPENGL_gl_LIBRARY} - ${OPENGL_glu_LIBRARY} ${GLUT_glut_LIBRARY} + ${OPENGL_glu_LIBRARY} + ${OPENGL_gl_LIBRARY} ) if (WIN32) -- cgit v1.2.3