diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-11 16:33:16 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2014-04-15 13:58:34 -0700 |
commit | fc354bb9b59bbc8f75c09ee092c9d0896a5fb1f9 (patch) | |
tree | 2f8ce91c25b864f33bdd63857692bac672ae5faf /tests/spec/arb_compute_shader | |
parent | 87752234df07f551750be764592843e4c99edab4 (diff) |
cmake: Use piglit_add_executable instead of add_executable
Using add_executable prevents the compiled binary from being installed
when installing out of tree.
Signed-off-by: Dylan Baker <baker.dylan.c@gmail.com>
Diffstat (limited to 'tests/spec/arb_compute_shader')
-rw-r--r-- | tests/spec/arb_compute_shader/CMakeLists.gl.txt | 4 | ||||
-rw-r--r-- | tests/spec/arb_compute_shader/compiler/CMakeLists.gl.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/spec/arb_compute_shader/CMakeLists.gl.txt b/tests/spec/arb_compute_shader/CMakeLists.gl.txt index 920276113..a3367a7ee 100644 --- a/tests/spec/arb_compute_shader/CMakeLists.gl.txt +++ b/tests/spec/arb_compute_shader/CMakeLists.gl.txt @@ -10,7 +10,7 @@ link_libraries ( ${OPENGL_glu_LIBRARY} ) -add_executable (arb_compute_shader-api_errors api_errors.c) -add_executable (arb_compute_shader-minmax minmax.c) +piglit_add_executable (arb_compute_shader-api_errors api_errors.c) +piglit_add_executable (arb_compute_shader-minmax minmax.c) # vim: ft=cmake: diff --git a/tests/spec/arb_compute_shader/compiler/CMakeLists.gl.txt b/tests/spec/arb_compute_shader/compiler/CMakeLists.gl.txt index f96a656a8..22a71629e 100644 --- a/tests/spec/arb_compute_shader/compiler/CMakeLists.gl.txt +++ b/tests/spec/arb_compute_shader/compiler/CMakeLists.gl.txt @@ -10,6 +10,6 @@ link_libraries ( ${OPENGL_glu_LIBRARY} ) -add_executable (arb_compute_shader-work_group_size_too_large work_group_size_too_large.c) +piglit_add_executable (arb_compute_shader-work_group_size_too_large work_group_size_too_large.c) # vim: ft=cmake: |