mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[gz-common5] Add include <chrono> for system_clock (#42635)
This commit is contained in:
parent
3f92cf1a34
commit
d18ed2bf5c
12
ports/gz-common5/003-include-chrono.patch
Normal file
12
ports/gz-common5/003-include-chrono.patch
Normal 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>
|
@ -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 "
|
||||
|
@ -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",
|
||||
|
@ -3366,7 +3366,7 @@
|
||||
},
|
||||
"gz-common5": {
|
||||
"baseline": "5.4.1",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"gz-fuel-tools8": {
|
||||
"baseline": "8.1.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "41a407bcf716c1a34f71478a24e9c481f15c255e",
|
||||
"version": "5.4.1",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "379bf372ab20a993390aaf8c34be3292e43c2ec8",
|
||||
"version": "5.4.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user