mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 01:30:55 +08:00
[libe57format] Update to 3.2.0 (#42498)
This commit is contained in:
parent
5deeb36ed7
commit
a345bbdc68
@ -2,19 +2,18 @@ vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO asmaloney/libE57Format
|
||||
REF "v${VERSION}"
|
||||
SHA512 9be79a969b74008801e20531530cdf3dc1f0041d6fbd2be1aaa8d58b35b06309b1f324309ad1d989a345389ed168c96c325ebe65844efec9bbffd183bf2e4766
|
||||
SHA512 3c69766fbd4b048db760835181fdb928add08b5914c00f3927739a36797aa4417b0607654100c578e1c8778605b617bc2a29d342d26931bdb87924ca58080dcd
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" E57_BUILD_SHARED)
|
||||
string(COMPARE NOTEQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" E57_USING_STATIC_XERCES)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DE57_BUILD_TEST=OFF
|
||||
-DE57_BUILD_SHARED=${E57_BUILD_SHARED}
|
||||
-DUSING_STATIC_XERCES=${E57_USING_STATIC_XERCES}
|
||||
-DE57_RELEASE_LTO=OFF
|
||||
)
|
||||
vcpkg_cmake_install()
|
||||
|
||||
@ -26,4 +25,4 @@ file(REMOVE_RECURSE
|
||||
)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/libe57format RENAME copyright)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.md")
|
||||
|
@ -1,4 +1,4 @@
|
||||
libe57format provides CMake targets:
|
||||
|
||||
find_package(e57format CONFIG REQUIRED)
|
||||
find_package(E57Format CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE E57Format)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "libe57format",
|
||||
"version": "3.1.1",
|
||||
"version": "3.2.0",
|
||||
"description": "A library to provide read & write support for the E57 file format.",
|
||||
"homepage": "https://github.com/asmaloney/libE57Format",
|
||||
"license": "BSL-1.0",
|
||||
|
@ -4489,7 +4489,7 @@
|
||||
"port-version": 4
|
||||
},
|
||||
"libe57format": {
|
||||
"baseline": "3.1.1",
|
||||
"baseline": "3.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"libebur128": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "8ff8b875bf54e984d9f85d80194bed578cb1638e",
|
||||
"version": "3.2.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "fb409510c8365dadc49053428c15e36163d204e2",
|
||||
"version": "3.1.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user