Why is this flag necessary? In any case it needs to be something like:
```cmake
ADD_DEFINITIONS(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS)
```

otherwise the command is unportable.