mirror of
https://github.com/LizardByte/libvirtualhid.git
synced 2026-12-06 23:25:20 +09:00
58 lines
2.2 KiB
CMake
58 lines
2.2 KiB
CMake
# CPM Package Lock
|
|
# This file should be committed to version control
|
|
|
|
# The first argument of CPMDeclarePackage can be freely chosen and is used as argument in CPMGetPackage.
|
|
# The NAME argument should be package name that would also be used in a find_package call.
|
|
# Ideally, both are the same, which might not always be possible: https://github.com/cpm-cmake/CPM.cmake/issues/603
|
|
# This is needed to support CPM_USE_LOCAL_PACKAGES
|
|
|
|
# Renovate-bot will update the versions and hashes in this file when a new version of a dependency is released.
|
|
# The comments above each dependency are used by renovate to identify the dependencies and extract the version numbers.
|
|
# See https://github.com/LizardByte/.github/blob/master/renovate/cmake.json5 for the configuration of renovate.
|
|
# See https://github.com/LizardByte/.github/blob/master/renovate/README.md#cpm-package-lock for annotation instructions.
|
|
|
|
# SDL
|
|
# renovate: datasource=github-tags depName=libsdl-org/SDL
|
|
# versioning=regex:^release-(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)$
|
|
# extractVersion=^release-(?<version>.*)$
|
|
set(SDL3_VERSION 3.4.12)
|
|
CPMDeclarePackage(SDL3
|
|
NAME SDL3
|
|
VERSION ${SDL3_VERSION}
|
|
GITHUB_REPOSITORY libsdl-org/SDL
|
|
GIT_TAG release-${SDL3_VERSION}
|
|
OPTIONS
|
|
"SDL_SHARED OFF"
|
|
"SDL_STATIC ON"
|
|
"SDL_TESTS OFF"
|
|
"SDL_TEST_LIBRARY OFF"
|
|
"SDL_INSTALL OFF"
|
|
"SDL_X11_XSCRNSAVER OFF"
|
|
)
|
|
|
|
# Dear ImGui
|
|
# renovate: datasource=github-tags depName=ocornut/imgui
|
|
# versioning=regex:^v(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)$
|
|
# extractVersion=^v(?<version>.*)$
|
|
set(IMGUI_VERSION 1.92.8)
|
|
CPMDeclarePackage(imgui
|
|
NAME imgui
|
|
VERSION ${IMGUI_VERSION}
|
|
GITHUB_REPOSITORY ocornut/imgui
|
|
GIT_TAG v${IMGUI_VERSION}
|
|
DOWNLOAD_ONLY YES
|
|
FORCE YES
|
|
)
|
|
|
|
# nlohmann JSON
|
|
# renovate: datasource=github-tags depName=nlohmann/json
|
|
# versioning=regex:^v(?<major>\d+)\.(?<minor>\d+)\.(?<patch>\d+)$
|
|
# extractVersion=^v(?<version>.*)$
|
|
set(NLOHMANN_JSON_VERSION 3.12.0)
|
|
CPMDeclarePackage(nlohmann_json
|
|
NAME nlohmann_json
|
|
VERSION ${NLOHMANN_JSON_VERSION}
|
|
GITHUB_REPOSITORY nlohmann/json
|
|
GIT_TAG v${NLOHMANN_JSON_VERSION}
|
|
)
|