Unverified Commit 2591b261 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

opentelemetry-cpp: fix CMake target include dirs (#328851)

parents bcda88d0 2b99603e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -66,6 +66,11 @@ stdenv.mkDerivation (finalAttrs: {

  outputs = [ "out" "dev" ];

  postInstall = ''
    substituteInPlace $out/lib/cmake/opentelemetry-cpp/opentelemetry-cpp-target.cmake \
      --replace-fail "\''${_IMPORT_PREFIX}/include" "$dev/include"
  '';

  passthru.updateScript = nix-update-script { };

  meta = {