Skip to content

Commit 877b57d

Browse files
committed
Addressing feedback
1 parent a358ff8 commit 877b57d

File tree

3 files changed

+38
-6
lines changed

3 files changed

+38
-6
lines changed

deps/cloudxr/openxr_extensions/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,3 @@ target_include_directories(teleop_openxr_extensions INTERFACE
1111
install(FILES XR_NVX1_device_interface.h
1212
DESTINATION include
1313
)
14-
15-
install(TARGETS teleop_openxr_extensions
16-
EXPORT TeleopTargets
17-
)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"version": 3,
3+
"cmakeMinimumRequired": { "major": 3, "minor": 22, "patch": 0 },
4+
"configurePresets": [
5+
{
6+
"name": "linux-manus-default",
7+
"displayName": "Linux Manus Default (RelWithDebInfo)",
8+
"generator": "Unix Makefiles",
9+
"binaryDir": "${sourceDir}/build-manus-default",
10+
"cacheVariables": {
11+
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
12+
"MANUS_SDK_ROOT": "${sourceDir}/ManusSDK"
13+
}
14+
},
15+
{
16+
"name": "linux-manus-debug",
17+
"displayName": "Linux Manus Debug",
18+
"inherits": "linux-manus-default",
19+
"binaryDir": "${sourceDir}/build-manus-debug",
20+
"cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" }
21+
},
22+
{
23+
"name": "linux-manus-release",
24+
"displayName": "Linux Manus Release",
25+
"inherits": "linux-manus-default",
26+
"binaryDir": "${sourceDir}/build-manus-release",
27+
"cacheVariables": { "CMAKE_BUILD_TYPE": "Release" }
28+
}
29+
],
30+
"buildPresets": [
31+
{ "name": "manus-default", "configurePreset": "linux-manus-default" },
32+
{ "name": "manus-debug", "configurePreset": "linux-manus-debug" },
33+
{ "name": "manus-release", "configurePreset": "linux-manus-release" }
34+
],
35+
"testPresets": []
36+
}

src/plugins/manus/core/manus_hand_tracking_plugin.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ void ManusTracker::initialize(const std::string& app_name) noexcept(false)
133133
// Require the push device extension
134134
config.extensions = { XR_NVX1_DEVICE_INTERFACE_BASE_EXTENSION_NAME, XR_MND_HEADLESS_EXTENSION_NAME };
135135
#if defined(_WIN32)
136-
config.extensions.push_back("XR_KHR_win32_convert_performance_counter_time");
136+
config.extensions.push_back(XR_KHR_WIN32_CONVERT_PERFORMANCE_COUNTER_TIME_EXTENSION_NAME);
137137
#else
138-
config.extensions.push_back("XR_KHR_convert_timespec_time");
138+
config.extensions.push_back(XR_KHR_CONVERT_TIMESPEC_TIME_EXTENSION_NAME);
139139
#endif
140140
// Overlay mode required for headless
141141
config.use_overlay_mode = true;

0 commit comments

Comments
 (0)