[gz-common5] Add include <chrono> for system_clock (#42635)

This commit is contained in:
WangWeiLin-MV 2024-12-19 20:50:47 +00:00 committed by GitHub
parent 3f92cf1a34
commit d18ed2bf5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 2 deletions

View File

@ -0,0 +1,12 @@
diff --git a/events/include/gz/common/Event.hh b/events/include/gz/common/Event.hh
index a86c3ac07..936417d74 100644
--- a/events/include/gz/common/Event.hh
+++ b/events/include/gz/common/Event.hh
@@ -18,6 +18,7 @@
#define GZ_COMMON_EVENT_HH_
#include <atomic>
+#include <chrono>
#include <functional>
#include <list>
#include <map>

View File

@ -11,6 +11,7 @@ ignition_modular_library(
"-DPKG_CONFIG_EXECUTABLE=${CURRENT_HOST_INSTALLED_DIR}/tools/pkgconf/pkgconf${VCPKG_HOST_EXECUTABLE_SUFFIX}"
PATCHES
gz_remotery_vis.patch
003-include-chrono.patch
)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/gz-common5-graphics/gz-common5-graphics-config.cmake" "find_package(GTS "

View File

@ -1,7 +1,7 @@
{
"name": "gz-common5",
"version": "5.4.1",
"port-version": 2,
"port-version": 3,
"description": "Common libraries for robotics applications",
"homepage": "https://ignitionrobotics.org/libs/common",
"license": "Apache-2.0",

View File

@ -3366,7 +3366,7 @@
},
"gz-common5": {
"baseline": "5.4.1",
"port-version": 2
"port-version": 3
},
"gz-fuel-tools8": {
"baseline": "8.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "41a407bcf716c1a34f71478a24e9c481f15c255e",
"version": "5.4.1",
"port-version": 3
},
{
"git-tree": "379bf372ab20a993390aaf8c34be3292e43c2ec8",
"version": "5.4.1",