mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
[openmesh] Upgrade to 8.1 (#11739)
* upgrade openmesh to 8.1 Tested on Window 10 with Visual Studio 2019 x64 * update version for CONTROL file * 1. Remove obsolete function `include(vcpkg_common_functions)` 2. Use `vcpkg_fixup_cmake_targets()` * fix build error on Linux Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
parent
a3eee82a38
commit
63578d09b0
@ -1,4 +1,3 @@
|
|||||||
Source: openmesh
|
Source: openmesh
|
||||||
Version: 8.0-1
|
Version: 8.1
|
||||||
Homepage: https://www.openmesh.org
|
|
||||||
Description: A generic and efficient polygon mesh data structure
|
Description: A generic and efficient polygon mesh data structure
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
set(VERSION 8.0)
|
set(VERSION 8.1)
|
||||||
|
|
||||||
# Note: upstream GitLab instance at https://graphics.rwth-aachen.de:9000 often goes down
|
# Note: upstream GitLab instance at https://graphics.rwth-aachen.de:9000 often goes down
|
||||||
vcpkg_download_distfile(ARCHIVE
|
vcpkg_download_distfile(ARCHIVE
|
||||||
URLS "https://www.openmesh.org/media/Releases/${VERSION}/OpenMesh-${VERSION}.tar.gz"
|
URLS "https://www.openmesh.org/media/Releases/${VERSION}/OpenMesh-${VERSION}.tar.gz"
|
||||||
FILENAME "OpenMesh-${VERSION}.tar.gz"
|
FILENAME "OpenMesh-${VERSION}.tar.gz"
|
||||||
SHA512 6c9cb323d83d48daca7ddefe51df67f611befd657655d8013c2c620ad53e0b8521e6b8e25ebf3f5321f94182252ae0c75795875ff7ac11585e4ffa79e16f8008
|
SHA512 c146e6b21d709a31772621a6a913def93a51460c4abb950c2eb64eea4528c7efd4c86166ba56ae0bc8090cc5878dd9328b570e094e61c1b64d6d298de05aca61
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_extract_source_archive_ex(
|
vcpkg_extract_source_archive_ex(
|
||||||
@ -21,18 +21,16 @@ endif()
|
|||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA # Disable this option if project cannot be built with Ninja
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DBUILD_APPS=OFF
|
-DBUILD_APPS=OFF
|
||||||
-DOPENMESH_BUILD_SHARED=${OPENMESH_BUILD_SHARED}
|
-DOPENMESH_BUILD_SHARED=${OPENMESH_BUILD_SHARED}
|
||||||
# [TODO]: add apps as feature, requires qt5 and freeglut
|
# [TODO]: add apps as feature, requires qt5 and freeglut
|
||||||
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
|
|
||||||
# OPTIONS_RELEASE -DOPTIMIZE=1
|
|
||||||
# OPTIONS_DEBUG -DDEBUGGABLE=1
|
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/OpenMesh/cmake TARGET_PATH share/OpenMesh/cmake)
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/OpenMesh/Tools/VDPM/xpm)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/OpenMesh/Tools/VDPM/xpm)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user