mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 07:57:48 +08:00
c95512aaf6
* Updates 2019.03.29 * Undo changes to 4 ports(rocksdb tbb thrift uwebsockets) due to failures * [folly] Fix target files in debug mode * Undo glog changes since it caused sophus openmvg and cartographer failures * Undo Folly changes since it cause wangle failed * Undo Folly portfile
23 lines
627 B
CMake
23 lines
627 B
CMake
include(vcpkg_common_functions)
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO tbeu/matio
|
|
REF v1.5.15
|
|
SHA512 5e80aef3e929ff306810861ba14bc82bdd9cb3090de60dbd6905cfa35706d8cbe6c40471e8abf41e5d0836c10083c359449d34bdf32c6b2022a73986e8303eb3
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}
|
|
PREFER_NINJA
|
|
OPTIONS_DEBUG -DDISABLE_INSTALL_HEADERS=ON
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/matio RENAME copyright)
|
|
|
|
vcpkg_copy_pdbs()
|