mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 07:27:50 +08:00
26 lines
657 B
CMake
26 lines
657 B
CMake
|
# Github config
|
||
|
vcpkg_from_github(
|
||
|
OUT_SOURCE_PATH SOURCE_PATH
|
||
|
REPO JustWhit3/osmanip
|
||
|
REF "v${VERSION}"
|
||
|
SHA512 cbbae779435bec3995756e1dbc8c283868dd923453054177dfa73bc00ac3510488467e535a1c4b14726f02d198f298eaeb884c1716dcde07e9aec06d02b22d32
|
||
|
HEAD_REF main
|
||
|
)
|
||
|
|
||
|
# Main commands
|
||
|
vcpkg_cmake_configure(
|
||
|
SOURCE_PATH "${SOURCE_PATH}"
|
||
|
OPTIONS
|
||
|
-DOSMANIP_TESTS=OFF
|
||
|
)
|
||
|
vcpkg_cmake_install()
|
||
|
|
||
|
# Move cmake configs
|
||
|
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/osmanip)
|
||
|
|
||
|
# Remove duplicate files
|
||
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||
|
|
||
|
# Install license
|
||
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|