aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2012-01-09 12:16:52 -0800
committerIan Romanick <ian.d.romanick@intel.com>2012-01-10 17:20:39 -0800
commit0bfd02de096340816a5e57c4377e524e87e0ba54 (patch)
tree859508419e66b026b4f255017be753fa71f60d11 /src
parentf26fbd088581be9fbecb1ca1323e322e400fb8ea (diff)
downloadpiglit-0bfd02de096340816a5e57c4377e524e87e0ba54.tar.gz
Add missing include paths
This prevents build issues when EGL/egl.h or GLES/gl.h are not installed in the "usual" places. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src')
-rw-r--r--src/glut_egl/CMakeLists.no_api.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glut_egl/CMakeLists.no_api.txt b/src/glut_egl/CMakeLists.no_api.txt
index b41d9d5b..f0597435 100644
--- a/src/glut_egl/CMakeLists.no_api.txt
+++ b/src/glut_egl/CMakeLists.no_api.txt
@@ -1,3 +1,8 @@
+include_directories(
+ ${GLEXT_INCLUDE_DIR}
+ ${OPENGL_INCLUDE_PATH}
+ )
+
link_libraries(${OPENGL_egl_LIBRARY})
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")