early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,31 @@
diff --git a/cmake/FindGTS.cmake b/cmake/FindGTS.cmake
index ad00a9715..a83d8af40 100644
--- a/cmake/FindGTS.cmake
+++ b/cmake/FindGTS.cmake
@@ -67,6 +67,26 @@ else()
# 2.1 Need glib library
find_library(GLIB_LIBRARY glib-2.0)
list(APPEND GTS_LIBRARIES "${GLIB_LIBRARY}")
+ find_path(GLIB_INCLUDE_DIRS glib.h
+ HINTS
+ ${CMAKE_FIND_ROOT_PATH}
+ PATH
+ ${CMAKE_FIND_ROOT_PATH}
+ PATH_SUFFIXES
+ include
+ include/glib-2.0
+ DOC "glib header include dir"
+ )
+ find_path(GLIB_CONFIG_INCLUDE_DIRS glibconfig.h
+ HINTS
+ ${CMAKE_FIND_ROOT_PATH}
+ PATHS
+ ${CMAKE_FIND_ROOT_PATH}
+ PATH_SUFFIXES
+ lib/glib-2.0/include
+ doc "glib header include dir"
+ )
+ list(APPEND GTS_INCLUDE_DIRS ${GLIB_INCLUDE_DIRS} ${GLIB_CONFIG_INCLUDE_DIRS})
if (GTS_FOUND)
# We need to manually specify the pkgconfig entry (and type of entry),

View File

@@ -0,0 +1,9 @@
set(PACKAGE_VERSION "2.5.0")
ignition_modular_library(NAME cmake
VERSION ${PACKAGE_VERSION}
SHA512 e39ed44ae6f7ccc338412f466f1257f88989e0818bee801ddbe09350e906cd9ce709be24356310fdbfde22d1b5b5846fed0aa794c06dcf7caf82748a07b428d6
PATCHES FindGTS.patch)
# Install custom usage
configure_file("${CMAKE_CURRENT_LIST_DIR}/usage" "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" @ONLY)

3
externals/vcpkg/ports/ignition-cmake2/usage vendored Executable file
View File

@@ -0,0 +1,3 @@
The package ignition-cmake2 provides CMake integration:
find_package(ignition-cmake2 CONFIG REQUIRED)

View File

@@ -0,0 +1,14 @@
{
"name": "ignition-cmake2",
"version": "2.5.0",
"port-version": 2,
"description": "CMake helper functions for building robotic applications",
"homepage": "https://ignitionrobotics.org/libs/cmake",
"license": null,
"dependencies": [
{
"name": "ignition-modularscripts",
"host": true
}
]
}