diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2012-01-09 12:17:50 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2012-01-10 17:21:22 -0800 |
commit | 428fa1b841ed2ef5091981d5550fa3974464780c (patch) | |
tree | 70e88e0a08c3fd98d2671288b0c6b2a1b01095a4 /tests/hiz | |
parent | 0bfd02de096340816a5e57c4377e524e87e0ba54 (diff) |
Use correct libX11
The previous mechanism caused
-lX11 /path/to/my/new/lib/libX11.so
to be on the link command line. Since there's no -L option, the wrong
libX11 got linked. With newer versions of libX11, this caused link
failures.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'tests/hiz')
-rw-r--r-- | tests/hiz/CMakeLists.gl.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/hiz/CMakeLists.gl.txt b/tests/hiz/CMakeLists.gl.txt index f6559fad9..832c47537 100644 --- a/tests/hiz/CMakeLists.gl.txt +++ b/tests/hiz/CMakeLists.gl.txt @@ -20,10 +20,6 @@ link_libraries ( ${GLUT_glut_LIBRARY} ) -IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - link_libraries(pthread X11) -ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") - add_executable(hiz-depth-stencil-test-fbo-d0-s8 hiz-depth-stencil-test-fbo-d0-s8.c) add_executable(hiz-depth-stencil-test-fbo-d24-s0 hiz-depth-stencil-test-fbo-d24-s0.c) add_executable(hiz-depth-stencil-test-fbo-d24-s8 hiz-depth-stencil-test-fbo-d24-s8.c) |