vcpkg/ports/efsw/portfile.cmake
MonicaLiu 65194bfbf5
[efsw] Update to 1.3.1. (#29430)
* update efsw

* update version

---------

Co-authored-by: MonicaLiu <v-liumonica@microsoft.com>
2023-02-07 14:59:38 -08:00

25 lines
620 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO SpartanJ/efsw
REF "${VERSION}"
SHA512 f9503a17ff5b6bdb4770b24c69f8015689ee3bc589428696437d887510e0ab38fddd85cc8e75b6f256d2a6362911ded1cb6a37ab33bd38de51bd779dbdbc8321
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DVERBOSE=OFF
-DBUILD_TEST_APP=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/efsw)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")