summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-07-15 16:09:17 +0100
committerJosé Fonseca <jfonseca@vmware.com>2011-07-15 16:09:17 +0100
commit78a8b28ff19e6391763d4da4fce8e47d51b3779b (patch)
tree333908032d4ea8a7f23a5788bd1d5fe33ee03a25
parent84e246932ed8f994c595f57a272e7d34664e509d (diff)
Add GLUT include dir only where necessary.
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/tools/difftiff/CMakeLists.txt2
-rw-r--r--src/tools/showtiff/CMakeLists.txt2
3 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index cebb8ef..814fe30 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -82,7 +82,6 @@ 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 1a2e362..0bb72f2 100644
--- a/src/tools/difftiff/CMakeLists.txt
+++ b/src/tools/difftiff/CMakeLists.txt
@@ -1,3 +1,5 @@
+include_directories (${GLUT_INCLUDE_DIR})
+
file (GLOB sources "*.cpp")
add_executable (difftiff ${sources})
diff --git a/src/tools/showtiff/CMakeLists.txt b/src/tools/showtiff/CMakeLists.txt
index c219dd1..009889d 100644
--- a/src/tools/showtiff/CMakeLists.txt
+++ b/src/tools/showtiff/CMakeLists.txt
@@ -1,3 +1,5 @@
+include_directories (${GLUT_INCLUDE_DIR})
+
file (GLOB sources "*.cpp")
add_executable (showtiff ${sources})