From fcd9752fba0e98e1e3f29d0a62ce13e9ecb8b78a Mon Sep 17 00:00:00 2001 From: Yichao Yu <yyc1992@gmail.com> Date: Sat, 10 May 2014 10:54:58 -0400 Subject: [PATCH] install wrap_cl_gl_core.h when GL is enabled. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 26fb709b..4ec20f29 100644 --- a/setup.py +++ b/setup.py @@ -251,7 +251,8 @@ def main(): "cl/*.cl", "cl/*.h", "c_wrapper/wrap_cl_core.h", - ] + ] + (["c_wrapper/wrap_cl_gl_core.h"] + if conf["CL_ENABLE_GL"] else []) }, # 2to3 invocation -- GitLab