Skip to content

Commit e1cbaed

Browse files
author
Halton Huo
committed
[nodejs] Temp fix Debug/Release issue.
This issue is caused we hardcode the realsense library as Release mode, but Appvyoer by default is Debug build. This is a tempory solution, we should detect the build type and get the right path.
1 parent 3b4c3b0 commit e1cbaed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrappers/nodejs/binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
}
4646
},
4747
"libraries": [
48-
"<(module_root_dir)/../../build/Release/realsense2.lib",
48+
"<(module_root_dir)/../../build/Debug/realsense2.lib",
4949
],
5050
}
5151
],
@@ -81,7 +81,7 @@
8181
[
8282
{
8383
'destination': '<(module_root_dir)/build/Release',
84-
'files': ['<(module_root_dir)/../../build/Release/realsense2.dll']
84+
'files': ['<(module_root_dir)/../../build/Debug/realsense2.dll']
8585
}
8686
]
8787
}]

0 commit comments

Comments
 (0)