mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 02:53:02 +08:00
[pcre2] no absolute paths (#21710)
This commit is contained in:
parent
304b9a0268
commit
c53bd66ec2
@ -17,7 +17,7 @@ else()
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DBUILD_STATIC_LIBS=${BUILD_STATIC}
|
||||
-DPCRE2_BUILD_PCRE2_8=ON
|
||||
@ -54,6 +54,9 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
if(BUILD_STATIC)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
elseif(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/pcre2-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/pcre2-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/../..")
|
||||
endif()
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "pcre2",
|
||||
"version": "10.39",
|
||||
"port-version": 1,
|
||||
"description": "Regular Expression pattern matching using the same syntax and semantics as Perl 5.",
|
||||
"homepage": "https://github.com/PhilipHazel/pcre2",
|
||||
"dependencies": [
|
||||
|
@ -5178,7 +5178,7 @@
|
||||
},
|
||||
"pcre2": {
|
||||
"baseline": "10.39",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"pdal": {
|
||||
"baseline": "1.7.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "b25437749e0bcdd96807c66a8fc8764382c55203",
|
||||
"version": "10.39",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "a7adfd692604527d08dfc188301fb73bae107550",
|
||||
"version": "10.39",
|
||||
|
Loading…
Reference in New Issue
Block a user