mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 10:59:05 +08:00
0e8929718e
* add mtl library new port * add mtl library new port * add mtl library new port * [mtl] new port * Update version database * Update version database * Update version database * Update ports/mtl/vcpkg.json Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update ports/mtl/portfile.cmake Co-authored-by: Kai Pastor <dg0yt@darc.de> * add mlt-config.cmake autogen * Update version database * Quick Fix CE with MSVC compiler * Update version database * Update ports/mtl/portfile.cmake Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Update ports/mtl/usage Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> * Remove -DMTL-CMAKE-DIR macro because is not necessary * Update version database * Update ports/mtl/usage Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update ports/mtl/portfile.cmake Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update ports/mtl/portfile.cmake Co-authored-by: Kai Pastor <dg0yt@darc.de> * Update database version * Remove white spaces and add line break * Update database version * end line * version * add new version of mtl * Update database version * Rename port name from mtl to mtlt (last 't' is tonitaga) * Update database version * Update database version --------- Co-authored-by: Kai Pastor <dg0yt@darc.de> Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com> Co-authored-by: Frank <1433351828@qq.com>
24 lines
748 B
CMake
24 lines
748 B
CMake
set(VCPKG_BUILD_TYPE release) # Header-only library
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO tonitaga/MTLT
|
|
REF 8e30e6636b06ad008082e22f37e0d79873142e1b
|
|
SHA512 2addaa4f84037a14431b20734fe5ca1ea11c4d9d1a0ddf82a16b9efaacbbac3873038bd16f93ba94288559585ae76d12884166931c91a214a3e3ed0cecea6b3b
|
|
HEAD_REF main
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME "mtlt" CONFIG_PATH "lib/cmake/mtlt")
|
|
vcpkg_fixup_pkgconfig()
|
|
vcpkg_copy_pdbs()
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|