From 8c9ba9bcf5534125862896ab61d4cb98d6aa4bbd Mon Sep 17 00:00:00 2001 From: Haroon Qureshi Date: Fri, 20 Feb 2026 04:59:04 -0800 Subject: [PATCH] Disable plugin on windows. PiperOrigin-RevId: 872845569 Change-Id: I4d80c80a47358a2882b2c63c2d655fe374afe65d --- src/experimental/platform/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/experimental/platform/CMakeLists.txt b/src/experimental/platform/CMakeLists.txt index 2cdc5f4e..a180b148 100644 --- a/src/experimental/platform/CMakeLists.txt +++ b/src/experimental/platform/CMakeLists.txt @@ -50,7 +50,6 @@ target_sources(${MUJOCO_PLATFORM_TARGET_NAME} interaction.h model_holder.cc model_holder.h - object_launcher_plugin.cc picture_gui.h picture_gui.cc plugin.cc @@ -68,6 +67,13 @@ target_sources(${MUJOCO_PLATFORM_TARGET_NAME} window.h ) +if(NOT WINDOWS) + target_sources(${MUJOCO_PLATFORM_TARGET_NAME} + PUBLIC + object_launcher_plugin.cc + ) +endif() + if(APPLE) set_source_files_properties(window_osx.mm PROPERTIES COMPILE_FLAGS "-x objective-c++")