diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-03-27 13:11:48 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-04-29 11:06:28 +0000 |
commit | ebf571b7959ab7b15b4588474a8613e110fab5a5 (patch) | |
tree | 50889c442c7b8cea3d94ade5924106c2be7d5d61 /tests/glx | |
parent | 8dc8c51ec54f209331d0c1b3a895909787819aa9 (diff) |
cmake: only link X11 libraries when building GLX tests
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/glx')
-rw-r--r-- | tests/glx/CMakeLists.gl.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/glx/CMakeLists.gl.txt b/tests/glx/CMakeLists.gl.txt index f3dccf7a..ca86548a 100644 --- a/tests/glx/CMakeLists.gl.txt +++ b/tests/glx/CMakeLists.gl.txt @@ -6,17 +6,19 @@ include_directories( ) link_libraries ( - piglitglxutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} ${GLUT_glut_LIBRARY} - ${X11_X11_LIB} ) IF(BUILD_GLX_TESTS) include_directories( ${GLPROTO_INCLUDE_DIRS} ) + link_libraries ( + piglitglxutil + ${X11_X11_LIB} + ) piglit_add_executable (glx-fbconfig-sanity glx-fbconfig-sanity.c) piglit_add_executable (glx-fbconfig-compliance glx-fbconfig-compliance.c) piglit_add_executable (glx-fbo-binding glx-fbo-binding.c) |