aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorLE GARREC Vincent <github@le-garrec.fr>2021-07-06 22:36:25 +0200
committerGitHub <noreply@github.com>2021-07-06 13:36:25 -0700
commitfc6d2ed5b92b5cbdc3fc17f538b6562811ac0bbc (patch)
tree074b6c05225c7fbf4d1eafd762fd46053fe52d70 /ports
parent1d39c6f24680dc2f82de7c0b5f1923b19f25aa55 (diff)
downloadvcpkg-fc6d2ed5b92b5cbdc3fc17f538b6562811ac0bbc.tar.gz
vcpkg-fc6d2ed5b92b5cbdc3fc17f538b6562811ac0bbc.zip
[catch2] Fix linux build in NTFS fs (#18814)
file(RENAME Camel lower) works fine when running vcpkg in Windows Powershell with triplet x64-windows in NTFS fs. file(RENAME Camel lower) does not work fine when running vcpkg in WSL with triplet x64-linux in NTFS.
Diffstat (limited to 'ports')
-rw-r--r--ports/catch2/portfile.cmake6
-rw-r--r--ports/catch2/vcpkg.json1
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/catch2/portfile.cmake b/ports/catch2/portfile.cmake
index 1d0291a57..0b2c4c0e7 100644
--- a/ports/catch2/portfile.cmake
+++ b/ports/catch2/portfile.cmake
@@ -16,8 +16,10 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
-file(RENAME "${CURRENT_PACKAGES_DIR}/share/Catch2" "${CURRENT_PACKAGES_DIR}/share/catch2")
-file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/Catch2" "${CURRENT_PACKAGES_DIR}/debug/share/catch2")
+file(RENAME "${CURRENT_PACKAGES_DIR}/share/Catch2" "${CURRENT_PACKAGES_DIR}/share/catch2_")
+file(RENAME "${CURRENT_PACKAGES_DIR}/share/catch2_" "${CURRENT_PACKAGES_DIR}/share/catch2")
+file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/Catch2" "${CURRENT_PACKAGES_DIR}/debug/share/catch2_")
+file(RENAME "${CURRENT_PACKAGES_DIR}/debug/share/catch2_" "${CURRENT_PACKAGES_DIR}/debug/share/catch2")
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/Catch2)
diff --git a/ports/catch2/vcpkg.json b/ports/catch2/vcpkg.json
index ddca8ee67..e0199bffa 100644
--- a/ports/catch2/vcpkg.json
+++ b/ports/catch2/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "catch2",
"version-semver": "2.13.6",
+ "port-version": 1,
"description": "A modern, header-only test framework for unit testing.",
"homepage": "https://github.com/catchorg/Catch2"
}