[ctpg] no absolute paths (#28791)

This commit is contained in:
autoantwort 2023-01-09 10:15:12 +01:00 committed by GitHub
parent cd08228e4a
commit db5c711f27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -13,12 +13,15 @@ vcpkg_cmake_configure(
OPTIONS
-DCTPG_ENABLE_INSTALL=ON
-DCTPG_ENABLE_TESTS=OFF
-DCTPG_INSTALL_CMAKEDIR="${CURRENT_PACKAGES_DIR}/share/${PORT}"
-DCTPG_WARNING_FLAGS=OFF
)
vcpkg_cmake_install()
file(GLOB files "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/*")
file(COPY ${files} DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")

View File

@ -1,6 +1,7 @@
{
"name": "ctpg",
"version": "1.3.7",
"port-version": 1,
"description": "Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.",
"homepage": "https://github.com/peter-winter/ctpg",
"license": "MIT",

View File

@ -1798,7 +1798,7 @@
},
"ctpg": {
"baseline": "1.3.7",
"port-version": 0
"port-version": 1
},
"ctre": {
"baseline": "3.7.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3cbcbbd2011b26de3ddec2aca13ee915c838021a",
"version": "1.3.7",
"port-version": 1
},
{
"git-tree": "3a1f2a1050353e56b539e4bd98b40853ca6b59ed",
"version": "1.3.7",