From 06fb2c385ec6b026e1800f2f6f0c2b0cf5c3d760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Toma=C5=BEi=C4=8D?= Date: Thu, 21 Jun 2012 23:24:28 +0200 Subject: cmake: Build API-independent piglitutil library MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Build API-independent utilities to piglitutil library and link all other utility libraries to it (gl, gles1, gles2). Signed-off-by: Blaž Tomažič Reviewed-by: Chad Versace --- tests/util/CMakeLists.no_api.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/util/CMakeLists.no_api.txt (limited to 'tests/util/CMakeLists.no_api.txt') diff --git a/tests/util/CMakeLists.no_api.txt b/tests/util/CMakeLists.no_api.txt new file mode 100644 index 00000000..c3313684 --- /dev/null +++ b/tests/util/CMakeLists.no_api.txt @@ -0,0 +1,13 @@ +include_directories( + ${UTIL_INCLUDES} +) + +piglit_add_library (piglitutil + ${UTIL_SOURCES} +) + +if(UNIX) + target_link_libraries(piglitutil m) +endif(UNIX) + +# vim: ft=cmake: -- cgit v1.2.3