aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-19 19:44:43 -0700
committerGitHub <noreply@github.com>2020-08-19 19:44:43 -0700
commit0d52f66f47399778b96052bd1c3c9ea3d007e456 (patch)
tree5a163dfd124d2aebc2ef84ae94e5e0aa142e69bc
parent2906878462760aab95b899f8dd67467996d26f31 (diff)
downloadvcpkg-0d52f66f47399778b96052bd1c3c9ea3d007e456.tar.gz
vcpkg-0d52f66f47399778b96052bd1c3c9ea3d007e456.zip
[gtest] Fix installed cmake file path (#12997)
-rw-r--r--ports/gtest/CONTROL1
-rw-r--r--ports/gtest/portfile.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/gtest/CONTROL b/ports/gtest/CONTROL
index 9d3934072..a18713fe4 100644
--- a/ports/gtest/CONTROL
+++ b/ports/gtest/CONTROL
@@ -1,4 +1,5 @@
Source: gtest
Version: 1.10.0
+Port-Version: 1
Homepage: https://github.com/google/googletest
Description: GoogleTest and GoogleMock testing frameworks.
diff --git a/ports/gtest/portfile.cmake b/ports/gtest/portfile.cmake
index 585f380c4..f0606eaa3 100644
--- a/ports/gtest/portfile.cmake
+++ b/ports/gtest/portfile.cmake
@@ -26,7 +26,7 @@ vcpkg_configure_cmake(
)
vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/GTest)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/GTest TARGET_PATH share/GTest)
file(
INSTALL