Use cmake FILE(COPY) for deploying custom CMakeLists.txt.

PiperOrigin-RevId: 838696575
Change-Id: I3c61bda9d1d89185f257797c2e0c0f4ef2c7cb95
This commit is contained in:
Haroon Qureshi
2025-12-01 03:36:36 -08:00
committed by Copybara-Service
parent fe74ea2e7b
commit c6b587b515
7 changed files with 49 additions and 19 deletions
+1 -4
View File
@@ -24,8 +24,5 @@ fetchpackage(
PACKAGE_NAME dear_imgui
GIT_REPO https://github.com/ocornut/imgui.git
GIT_TAG ${MUJOCO_DEP_VERSION_dear_imgui}
PATCH_COMMAND
"cp"
"${CMAKE_SOURCE_DIR}/cmake/third_party_deps/dear_imgui/CMakeLists.txt"
"${FETCHCONTENT_BASE_DIR}/dear_imgui-src/CMakeLists.txt"
CUSTOM_CMAKE "${CMAKE_SOURCE_DIR}/cmake/third_party_deps/dear_imgui/CMakeLists.txt"
)
+1 -4
View File
@@ -24,8 +24,5 @@ fetchpackage(
PACKAGE_NAME font_awesome
GIT_REPO https://github.com/FortAwesome/Font-Awesome.git
GIT_TAG ${MUJOCO_DEP_VERSION_font_awesome}
PATCH_COMMAND
"cp"
"${CMAKE_SOURCE_DIR}/cmake/third_party_deps/font_awesome/CMakeLists.txt"
"${FETCHCONTENT_BASE_DIR}/font_awesome-src/CMakeLists.txt"
CUSTOM_CMAKE "${CMAKE_SOURCE_DIR}/cmake/third_party_deps/font_awesome/CMakeLists.txt"
)
+1 -4
View File
@@ -24,8 +24,5 @@ fetchpackage(
PACKAGE_NAME implot
GIT_REPO https://github.com/epezent/implot.git
GIT_TAG ${MUJOCO_DEP_VERSION_implot}
PATCH_COMMAND
"cp"
"${CMAKE_SOURCE_DIR}/cmake/third_party_deps/implot/CMakeLists.txt"
"${FETCHCONTENT_BASE_DIR}/implot-src/CMakeLists.txt"
CUSTOM_CMAKE "${CMAKE_SOURCE_DIR}/cmake/third_party_deps/implot/CMakeLists.txt"
)
+1 -4
View File
@@ -24,8 +24,5 @@ fetchpackage(
PACKAGE_NAME opensans
GIT_REPO https://github.com/googlefonts/opensans.git
GIT_TAG ${MUJOCO_DEP_VERSION_opensans}
PATCH_COMMAND
"cp"
"${CMAKE_SOURCE_DIR}/cmake/third_party_deps/opensans/CMakeLists.txt"
"${FETCHCONTENT_BASE_DIR}/opensans-src/CMakeLists.txt"
CUSTOM_CMAKE "${CMAKE_SOURCE_DIR}/cmake/third_party_deps/opensans/CMakeLists.txt"
)