2021-02-11 16:15:15 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2022-05-26 03:19:53 +08:00
|
|
|
|
2021-02-11 16:15:15 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO microsoft/FX11
|
2023-01-05 21:21:48 +08:00
|
|
|
REF dec2022b
|
|
|
|
SHA512 5dc209c830d940aba9378d1442b0fb236d5e1f63bb4e073ce8db5a832da22cb2e575c171aff0b641201b34b4362b9274b106f93518b09d57d231386d0b4bdf58
|
2022-05-26 03:19:53 +08:00
|
|
|
HEAD_REF main
|
2021-02-11 16:15:15 +08:00
|
|
|
)
|
|
|
|
|
2023-01-05 21:21:48 +08:00
|
|
|
vcpkg_check_features(
|
|
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
|
|
FEATURES
|
|
|
|
spectre ENABLE_SPECTRE_MITIGATION
|
|
|
|
)
|
2022-05-26 03:19:53 +08:00
|
|
|
vcpkg_cmake_configure(
|
2021-02-11 16:15:15 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2023-01-05 21:21:48 +08:00
|
|
|
OPTIONS ${FEATURE_OPTIONS}
|
2021-02-11 16:15:15 +08:00
|
|
|
)
|
|
|
|
|
2022-05-26 03:19:53 +08:00
|
|
|
vcpkg_cmake_install()
|
2022-08-20 04:44:44 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH share/effects11)
|
2021-02-11 16:15:15 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
|
|
|
|
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|