Disable plugin on windows.

PiperOrigin-RevId: 872845569
Change-Id: I4d80c80a47358a2882b2c63c2d655fe374afe65d
This commit is contained in:
Haroon Qureshi
2026-02-20 04:59:04 -08:00
committed by Copybara-Service
parent f71e215c9a
commit 8c9ba9bcf5
+7 -1
View File
@@ -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++")