librealsense: Fix bad include directories in cmake
Set $dev/include as the correct include directory in the cmake manifest.
This commit is contained in:
@@ -80,6 +80,9 @@ stdenv.mkDerivation rec {
|
||||
# ( https://github.com/IntelRealSense/meta-intel-realsense/issues/20 )
|
||||
postInstall = lib.optionalString enablePython ''
|
||||
cp ../wrappers/python/pyrealsense2/__init__.py $out/${pythonPackages.python.sitePackages}/pyrealsense2
|
||||
'' + ''
|
||||
substituteInPlace $out/lib/cmake/realsense2/realsense2Targets.cmake \
|
||||
--replace "\''${_IMPORT_PREFIX}/include" "$dev/include"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user