diff options
author | Blaž Tomažič <blaz.tomazic@gmail.com> | 2012-06-21 23:24:28 +0200 |
---|---|---|
committer | Blaž Tomažič <blaz.tomazic@gmail.com> | 2012-06-28 03:55:04 +0200 |
commit | 06fb2c385ec6b026e1800f2f6f0c2b0cf5c3d760 (patch) | |
tree | 806bf2b1f5c18eeef93ab9dfa9ab0e217083d4a3 /tests/util/CMakeLists.no_api.txt | |
parent | c67fad0c2fff3860af3d8bf53a4ee17c324873ba (diff) |
cmake: Build API-independent piglitutil library
Build API-independent utilities to piglitutil library and link all other
utility libraries to it (gl, gles1, gles2).
Signed-off-by: Blaž Tomažič <blaz.tomazic@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/util/CMakeLists.no_api.txt')
-rw-r--r-- | tests/util/CMakeLists.no_api.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/util/CMakeLists.no_api.txt b/tests/util/CMakeLists.no_api.txt new file mode 100644 index 000000000..c3313684f --- /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: |