[ptex] fix single config build (#42735)

This commit is contained in:
Alexander Neumann 2024-12-16 16:13:08 +01:00 committed by GitHub
parent d18f1baaa9
commit 1c753cf99b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 3 deletions

View File

@ -24,9 +24,10 @@ vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Ptex ) vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/Ptex )
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig") file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
file(RENAME "${CURRENT_PACKAGES_DIR}/share/pkgconfig/ptex.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/ptex.pc") file(RENAME "${CURRENT_PACKAGES_DIR}/share/pkgconfig/ptex.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/ptex.pc")
file(COPY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/ptex.pc" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/") if(NOT VCPKG_BUILD_TYPE)
file(COPY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/ptex.pc" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/")
endif()
vcpkg_fixup_pkgconfig() vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/pkgconfig")

View File

@ -1,6 +1,7 @@
{ {
"name": "ptex", "name": "ptex",
"version": "2.4.3", "version": "2.4.3",
"port-version": 1,
"description": "Per-Face Texture Mapping for Production Rendering.", "description": "Per-Face Texture Mapping for Production Rendering.",
"homepage": "https://github.com/wdas/ptex", "homepage": "https://github.com/wdas/ptex",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",

View File

@ -7262,7 +7262,7 @@
}, },
"ptex": { "ptex": {
"baseline": "2.4.3", "baseline": "2.4.3",
"port-version": 0 "port-version": 1
}, },
"pthread": { "pthread": {
"baseline": "3.0.0", "baseline": "3.0.0",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "1e63d512185d2991ba49e4a3eb7c1472b8fbf02e",
"version": "2.4.3",
"port-version": 1
},
{ {
"git-tree": "8a98c639f2e68c4638eee485c6398a81ab52e3f1", "git-tree": "8a98c639f2e68c4638eee485c6398a81ab52e3f1",
"version": "2.4.3", "version": "2.4.3",