Merge pull request #238621 from kknives/master
librealsense: Fix bad include directory in cmake
This commit is contained in:
commit
b486b052d0
@ -78,7 +78,10 @@ stdenv.mkDerivation rec {
|
||||
# script does not do this, and it's questionable if intel knows it should be
|
||||
# done
|
||||
# ( https://github.com/IntelRealSense/meta-intel-realsense/issues/20 )
|
||||
postInstall = lib.optionalString enablePython ''
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/cmake/realsense2/realsense2Targets.cmake \
|
||||
--replace "\''${_IMPORT_PREFIX}/include" "$dev/include"
|
||||
'' + lib.optionalString enablePython ''
|
||||
cp ../wrappers/python/pyrealsense2/__init__.py $out/${pythonPackages.python.sitePackages}/pyrealsense2
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user