Disable plugin on windows.
PiperOrigin-RevId: 872845569 Change-Id: I4d80c80a47358a2882b2c63c2d655fe374afe65d
This commit is contained in:
committed by
Copybara-Service
parent
f71e215c9a
commit
8c9ba9bcf5
@@ -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++")
|
||||
|
||||
Reference in New Issue
Block a user