2020-06-24 04:58:38 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO SpartanJ/efsw
|
2023-01-11 05:52:27 +08:00
|
|
|
REF 6b51944994b5c77dbd7edce66846e378a3bf4d8e
|
|
|
|
SHA512 f49a8e5f4ec2d05c3d7bcdbfc6b39a9f1bb9667881cb52c065d038b558af0bfe19079bc9937398fc15faab680c1b2a685d00321143a5c324c8a31137549a7d0f
|
2020-06-24 04:58:38 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-01-11 05:52:27 +08:00
|
|
|
vcpkg_cmake_configure(
|
2020-06-24 04:58:38 +08:00
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
|
|
OPTIONS
|
|
|
|
-DVERBOSE=OFF
|
|
|
|
-DBUILD_TEST_APP=OFF
|
|
|
|
)
|
|
|
|
|
2023-01-11 05:52:27 +08:00
|
|
|
vcpkg_cmake_install()
|
2020-06-24 04:58:38 +08:00
|
|
|
|
2023-01-11 05:52:27 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/efsw)
|
2020-06-24 04:58:38 +08:00
|
|
|
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
2023-01-11 05:52:27 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|