diff options
author | Pauli Nieminen <pauli.nieminen@linux.intel.com> | 2012-06-05 12:26:42 +0300 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2012-06-06 02:16:01 -0700 |
commit | 3df8bff4042d1d13379ad4c53a4155ef12a90add (patch) | |
tree | f16ed8d49dba0b64e7938bc682277a63baefe93e /tests/hiz | |
parent | 00144cb77fd3afc05cfb4183b44e16a8bab175c0 (diff) |
hiz: Add piglitutil to linker
libhiz-util uses symbols from libpiglitutil but wasn't linked to it.
That worked in linux because linker --no-undefined wasn't passed to
linker. But tests in Mac caught the missing library dependecy.
I now checked with ldd -r that no libraries or binaries have undefined
symbols in my system..
Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=50708
Diffstat (limited to 'tests/hiz')
-rw-r--r-- | tests/hiz/CMakeLists.gl.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/hiz/CMakeLists.gl.txt b/tests/hiz/CMakeLists.gl.txt index 28d8f857..cea23cab 100644 --- a/tests/hiz/CMakeLists.gl.txt +++ b/tests/hiz/CMakeLists.gl.txt @@ -5,13 +5,16 @@ include_directories( ${OPENGL_INCLUDE_PATH} ) +link_libraries ( + piglitutil +) + piglit_add_library(hiz-util hiz-util.c ) link_libraries ( hiz-util - piglitutil ${OPENGL_gl_LIBRARY} ${OPENGL_glu_LIBRARY} |