diff --git a/setup.py b/setup.py index 26fb709b43c3471ddf242878fbf42ea3f8f71299..4ec20f293af1df38f48e7fb9beaa461607bcea7d 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