Commit 81dcbc77 authored by Dylan Baker's avatar Dylan Baker

CMakeList.txt: Install OpenCL inc files.

These are needed to pass tests, but they weren't being installed for
running out of tree. Fixes ~100 warns when running out of tree with
beignet. Trivial.
Signed-off-by: default avatarDylan Baker <dylanx.c.baker@intel.com>
parent 69d52c49
......@@ -469,7 +469,7 @@ install (
install (
DIRECTORY tests
DESTINATION ${PIGLIT_INSTALL_LIBDIR}
FILES_MATCHING REGEX ".*\\.(py|program_test|shader_test|frag|vert|geom|tesc|tese|ktx|cl|txt|vpfp)$"
FILES_MATCHING REGEX ".*\\.(py|program_test|shader_test|frag|vert|geom|tesc|tese|ktx|cl|txt|vpfp|inc)$"
REGEX "CMakeFiles|CMakeLists" EXCLUDE
)
......@@ -480,6 +480,13 @@ install (
REGEX "CMakeFiles|CMakeLists" EXCLUDE
)
install (
DIRECTORY generated_tests
DESTINATION ${PIGLIT_INSTALL_LIBDIR}
FILES_MATCHING REGEX ".*\\.inc$"
REGEX "CMakeFiles|CMakeLists" EXCLUDE
)
if (WIN32)
set (PYTHON_SUFFIX ".py")
else ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment