]>
Commit | Line | Data |
---|---|---|
1e59de90 TL |
1 | vcpkg_from_github( |
2 | OUT_SOURCE_PATH SOURCE_PATH | |
3 | REPO ybainier/Hypodermic | |
4 | REF 3e86a5a1fd5e8279d6ca461f9f398fa3f3c2eddc # v2.5.2 | |
5 | SHA512 1af2a94037aa5bf8c65aceb4a2e941f7f6d016422d345f86280085115e9bb871387370158b1a83891be8efdadd4eea0a1f8905225ebee64c000ec9023a9f212e | |
6 | HEAD_REF master | |
7 | PATCHES | |
8 | "disable_hypodermic_tests.patch" | |
9 | ) | |
10 | ||
11 | vcpkg_configure_cmake( | |
12 | SOURCE_PATH ${SOURCE_PATH} | |
13 | PREFER_NINJA | |
14 | ) | |
15 | ||
16 | vcpkg_install_cmake() | |
17 | ||
18 | file(REMOVE_RECURSE | |
19 | ${CURRENT_PACKAGES_DIR}/lib | |
20 | ${CURRENT_PACKAGES_DIR}/debug | |
21 | ) | |
22 | ||
23 | ||
24 | # Put the license file where vcpkg expects it | |
25 | file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/hypodermic/) | |
26 | file(RENAME ${CURRENT_PACKAGES_DIR}/share/hypodermic/LICENSE ${CURRENT_PACKAGES_DIR}/share/hypodermic/copyright) |