CMake updates for Studio integration

PiperOrigin-RevId: 929809674
Change-Id: Iabe670ced44f09fc1ea6d8dcde4b3c9ea4ad270a
This commit is contained in:
Michael Moss
2026-06-10 06:19:49 -07:00
committed by Copybara-Service
parent edbe6a6f74
commit 6f6a72f66b
2 changed files with 70 additions and 0 deletions
+9
View File
@@ -94,6 +94,15 @@ if(NOT EMSCRIPTEN)
add_executable(mujoco_studio)
target_sources(mujoco_studio PRIVATE main.cc)
configure_studio_target(mujoco_studio)
install(
TARGETS mujoco_studio
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT studio
BUNDLE DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT studio
)
install(
DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/assets"
DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT studio
)
endif()
# WASM Live target.