opencl-clhpp: fix install directory

Previously, it was installing to `$out/include/include`. Now it's correct:

/nix/store/alw8idc8qhfhzw98banq2l5hmrdaglgm-opencl-clhpp-2.0.11
├── include
│   └── CL
│       ├── cl2.hpp
│       └── cl.hpp
└── nix-support
    └── propagated-build-inputs

3 directories, 3 files
This commit is contained in:
Benjamin Hipple 2020-04-10 14:11:46 -04:00 committed by Jon
parent 622423781b
commit dd8d859829

View File

@ -15,9 +15,10 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ opencl-headers ];
preConfigure = ''
cmakeFlags="-DCMAKE_INSTALL_PREFIX=$out/include -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF"
'';
cmakeFlags = [
"-DBUILD_EXAMPLES=OFF"
"-DBUILD_TESTS=OFF"
];
meta = with stdenv.lib; {
description = "OpenCL Host API C++ bindings";