[Piglit] [PATCH] undefined reference to clock_gettime
Jin Zhou
zhoujin10 at gmail.com
Mon Dec 9 02:45:37 PST 2013
From: Jin Zhou <jin.zhou at amd.com>
diff --git a/tests/util/CMakeLists.no_api.txt b/tests/util/CMakeLists.no_api.txt
index c331368..96a6587 100644
--- a/tests/util/CMakeLists.no_api.txt
+++ b/tests/util/CMakeLists.no_api.txt
@@ -7,7 +7,7 @@ piglit_add_library (piglitutil
)
if(UNIX)
- target_link_libraries(piglitutil m)
+ target_link_libraries(piglitutil m rt)
endif(UNIX)
# vim: ft=cmake:
--
1.7.9.5
More information about the Piglit
mailing list