[Piglit] [PATCH 1/8] cmake: fix out of tree Installation and package generation.
Kenney Phillis
kphillisjr at gmail.com
Mon Sep 30 20:11:01 PDT 2013
When building and installing out of source tree the generated
tests are not installed. This commit fixes that.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a39d9df..c86ffe5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -316,7 +316,7 @@ install (
)
install (
- DIRECTORY generated_tests
+ DIRECTORY ${CMAKE_BINARY_DIR}/generated_tests
DESTINATION .
FILES_MATCHING REGEX ".*\\.(shader_test|program_test|frag|vert)$"
)
--
1.7.9.5
More information about the Piglit
mailing list