diff options
| author | Daniil Goncharov <neargye@gmail.com> | 2020-01-03 02:28:59 +0500 |
|---|---|---|
| committer | dan-shaw <51385773+dan-shaw@users.noreply.github.com> | 2020-01-02 13:28:59 -0800 |
| commit | 2a0998e5cfada91f19484171f8005eb08b87136b (patch) | |
| tree | 6340331124275098239549cf19076229c230759b | |
| parent | c0557247858d1e51de6e12b57923c6c814196d5a (diff) | |
| download | vcpkg-2a0998e5cfada91f19484171f8005eb08b87136b.tar.gz vcpkg-2a0998e5cfada91f19484171f8005eb08b87136b.zip | |
[nameof] Update to 0.9.3 (#9503)
| -rw-r--r-- | ports/nameof/CONTROL | 2 | ||||
| -rw-r--r-- | ports/nameof/portfile.cmake | 13 |
2 files changed, 5 insertions, 10 deletions
diff --git a/ports/nameof/CONTROL b/ports/nameof/CONTROL index b6eee1d64..296b39f1d 100644 --- a/ports/nameof/CONTROL +++ b/ports/nameof/CONTROL @@ -1,4 +1,4 @@ Source: nameof
-Version: 0.9.2
+Version: 0.9.3
Description: Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum.
Homepage: https://github.com/Neargye/nameof
diff --git a/ports/nameof/portfile.cmake b/ports/nameof/portfile.cmake index d2136d49a..5372879dd 100644 --- a/ports/nameof/portfile.cmake +++ b/ports/nameof/portfile.cmake @@ -1,12 +1,10 @@ # header-only library
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Neargye/nameof
- REF v0.9.2
- SHA512 b83167daf13e1e4f174d723a8aaeb13cb386eb7bd5a74ebf4cdc34c78f5deb537c11d8b5204df26c827de11e10bd9006854c1f898e1fcf6526ad0e41aff6987b
+ REF v0.9.3
+ SHA512 be644edfa30b2f6b0461585910bccf1ee6b1828d7fc013c01a50bed85ed9a7e3630a67a8362c8f5c8b5e3b372537d726c7c002f86b3c08d5fc73d99d10197f56
HEAD_REF master
)
@@ -20,12 +18,9 @@ vcpkg_configure_cmake( vcpkg_install_cmake()
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nameof)
+vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/nameof TARGET_PATH share/nameof)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/lib)
# Handle copyright
-configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/nameof/copyright COPYONLY)
-
-# CMake integration test
-vcpkg_test_cmake(PACKAGE_NAME nameof)
+configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
