KhronosGroup / OpenCL-Headers

Khronos OpenCL-Headers
Apache License 2.0
666 stars 236 forks source link

CMakeLists.txt: fix install on macOS if GNU coreutils are used #203

Closed Mic92 closed 2 years ago

Mic92 commented 2 years ago

bsd ln supports both -h and -n, while GNU only supports -n. In Nix we use GNU coreutils and hence the installation breaks.

Also see https://github.com/NixOS/nixpkgs/pull/182909

With this patch installation will work with both variants of ln

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.