diff options
Diffstat (limited to 'vcpkg/ports/gz-plugin/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/gz-plugin/portfile.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/gz-plugin/portfile.cmake b/vcpkg/ports/gz-plugin/portfile.cmake new file mode 100644 index 0000000..58f6f28 --- /dev/null +++ b/vcpkg/ports/gz-plugin/portfile.cmake @@ -0,0 +1,12 @@ +string(REGEX MATCH "^[0-9]+" VERSION_MAJOR ${VERSION})
+string(REGEX MATCH "^gz-([a-z-]+)" MATCHED_VALUE ${PORT})
+set(PACKAGE_NAME ${CMAKE_MATCH_1})
+
+ignition_modular_library(
+ NAME ${PACKAGE_NAME}
+ REF ${PORT}${VERSION_MAJOR}_${VERSION}
+ VERSION ${VERSION}
+ SHA512 9355eb9ec7bb6dffaadcd37009d16db215b7def6a835ba4704d6c6831c9253b2abf40f6ad01fe70609e46c6f121adc80f809e80c8168c795511434c118c12b10
+ OPTIONS
+ PATCHES
+)
|