2018-11-20 00:51:30 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO stlab/libraries
|
2019-11-22 09:15:49 +08:00
|
|
|
REF 328ef2b423df2aadc7c932bb8d6408406714bf37 # v1.5.1
|
|
|
|
SHA512 d9b89db678b838f9f835a5905ea81b6981cf7481c92635521967d15fc1a2e6e6f7564a7faee6242869295a3ee3179a07cad9c65cc496fb3e009277c2dbcaa6b0
|
|
|
|
HEAD_REF develop
|
2018-11-20 00:51:30 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_configure_cmake(
|
|
|
|
SOURCE_PATH ${SOURCE_PATH}
|
2019-08-01 04:01:02 +08:00
|
|
|
PREFER_NINJA
|
2018-11-20 00:51:30 +08:00
|
|
|
OPTIONS
|
|
|
|
-DBUILD_TESTING=OFF
|
|
|
|
)
|
|
|
|
|
|
|
|
vcpkg_install_cmake()
|
2019-11-22 09:15:49 +08:00
|
|
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/stlab)
|
|
|
|
vcpkg_copy_pdbs()
|
2018-11-20 00:51:30 +08:00
|
|
|
|
|
|
|
# cleanup
|
|
|
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/cmake)
|
|
|
|
|
|
|
|
# handle copyright
|
2019-11-22 09:15:49 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|