2022-06-15 00:50:00 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
|
2020-05-22 02:25:25 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO tishion/mmLoader
|
2021-12-14 04:29:05 +08:00
|
|
|
REF 1.0.1
|
|
|
|
SHA512 a41749e1b62d5549b821429a03e456a0cb41fbc1ea3fe5e8067f80994fb4645c3145dd1e2a3ccaed13b091ec24338d4e542849628d346f26d2275b0cbff8f4c6
|
2020-05-22 02:25:25 +08:00
|
|
|
HEAD_REF master
|
2023-08-30 07:21:36 +08:00
|
|
|
PATCHES
|
|
|
|
fix-platform-name.patch
|
2020-05-22 02:25:25 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
2021-12-14 04:29:05 +08:00
|
|
|
FEATURES
|
|
|
|
shellcode BUILD_SHELLCODE_GEN
|
2020-05-22 02:25:25 +08:00
|
|
|
)
|
|
|
|
|
2022-06-15 00:50:00 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2020-05-22 02:25:25 +08:00
|
|
|
OPTIONS
|
|
|
|
${FEATURE_OPTIONS}
|
|
|
|
)
|
|
|
|
|
2022-06-15 00:50:00 +08:00
|
|
|
vcpkg_cmake_install(DISABLE_PARALLEL)
|
2020-05-22 02:25:25 +08:00
|
|
|
|
2020-12-23 06:52:58 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2020-05-22 02:25:25 +08:00
|
|
|
|
2023-08-30 07:21:36 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/License")
|