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

This commit is contained in:
Aleksana 2024-09-04 11:28:34 +08:00 committed by GitHub
commit 2591b261a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {