Files
Mujoco_WASM/cmake/third_party_deps/implot.cmake
T
Haroon Qureshi 2c2773e36d Include third_party_deps cmake files.
PiperOrigin-RevId: 828957097
Change-Id: I2aeea2ae9e2621c8c62a34095af6ea8fd0797f08
2025-11-06 08:02:28 -08:00

32 lines
1.0 KiB
CMake

# Copyright 2025 DeepMind Technologies Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set(MUJOCO_DEP_VERSION_implot
v0.16
CACHE STRING "Tag/version of `implot` to be fetched."
)
mark_as_advanced(MUJOCO_DEP_VERSION_implot)
include(FindOrFetch)
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"
)