mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 08:35:35 +08:00
[ctpg] no absolute paths (#28791)
This commit is contained in:
parent
cd08228e4a
commit
db5c711f27
@ -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")
|
||||
|
@ -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",
|
||||
|
@ -1798,7 +1798,7 @@
|
||||
},
|
||||
"ctpg": {
|
||||
"baseline": "1.3.7",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"ctre": {
|
||||
"baseline": "3.7.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "3cbcbbd2011b26de3ddec2aca13ee915c838021a",
|
||||
"version": "1.3.7",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "3a1f2a1050353e56b539e4bd98b40853ca6b59ed",
|
||||
"version": "1.3.7",
|
||||
|
Loading…
Reference in New Issue
Block a user