summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-07-15 14:52:56 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-07-15 14:52:56 +0100
commit1f4dbe7e9f9f7dbcfe3b084aeeccb89365c68da7 (patch)
tree79ed6c18fb92f5d9dee04567439ffb370623b989
parent12e52eb5b8dcb3b866c8b6085ef021dae253663f (diff)
Add the glut include path.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/tools/difftiff/CMakeLists.txt4
-rw-r--r--src/tools/showtiff/CMakeLists.txt4
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)