[Piglit] [PATCH 3/8] cmake: add *.cl to the list of installed generated tests.

Kenney Phillis kphillisjr at gmail.com
Mon Sep 30 20:11:03 PDT 2013


Files with the extension ".cl" are usually used for OpenCL and
this installs all .cl files that are in the generated_tests
folder when either making a package or actually installing the
tests on a system.
---
 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8404d9a..775b25a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -318,7 +318,7 @@ install (
 install (
 	DIRECTORY ${CMAKE_BINARY_DIR}/generated_tests
 	DESTINATION .
-	FILES_MATCHING REGEX ".*\\.(shader_test|program_test|frag|vert|geom)$"
+	FILES_MATCHING REGEX ".*\\.(shader_test|program_test|frag|vert|geom|cl)$"
 )
 
 
-- 
1.7.9.5



More information about the Piglit mailing list