mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 01:19:02 +08:00
484915c2f0
Co-authored-by: Lily Wang <v-lilywang@microsoft.com>
25 lines
672 B
CMake
25 lines
672 B
CMake
set(VCPKG_BUILD_TYPE release) # header-only
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Morwenn/cpp-sort
|
|
REF "${VERSION}"
|
|
SHA512 9a9098170cae99aaaed071c05b8bdb6af2d60379bc55f1a59d5e261769df9313517f449c1a9ea13aa96770b47ad5d628a5e0e5a93b019bf02f1918db582bcf19
|
|
HEAD_REF 1.x.y-develop
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
OPTIONS
|
|
-DCPPSORT_BUILD_TESTING=OFF
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/cpp-sort")
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|