From 2cb512bd5dd2bb789d6a805aa800b4c92fae26ff Mon Sep 17 00:00:00 2001 From: Dylan Noblesmith Date: Mon, 27 Feb 2012 20:01:23 +0000 Subject: don't write generated header to the source directory It was impossible to have the source directory read-only. Also add the include_directories() directive for tests/util in just one place, under tests/, so that all subdirectories inherit it. A bunch of CMakeLists.txt files duplicate it, so delete those redundant include flags: sed -i -e "/^\t\${piglit_SOURCE_DIR}\/tests\/util/ d" \ `grep piglit_SOURCE_DIR -rl tests/ | grep "CMakeLists\.gl"` --- tests/glx/CMakeLists.gl.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'tests/glx/CMakeLists.gl.txt') diff --git a/tests/glx/CMakeLists.gl.txt b/tests/glx/CMakeLists.gl.txt index c20bec74..789d84f9 100644 --- a/tests/glx/CMakeLists.gl.txt +++ b/tests/glx/CMakeLists.gl.txt @@ -3,7 +3,6 @@ include_directories( ${GLEXT_INCLUDE_DIR} ${OPENGL_INCLUDE_PATH} ${GLUT_INCLUDE_DIR} - ${piglit_SOURCE_DIR}/tests/util ) link_libraries ( -- cgit v1.2.3