[symengine] no absolute paths (#21100)

This commit is contained in:
autoantwort 2021-11-06 00:34:35 +01:00 committed by GitHub
parent 31f8e17aca
commit 8300767077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 10 deletions

View File

@ -34,7 +34,7 @@ endif()
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" MSVC_USE_MT)
vcpkg_configure_cmake(
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
@ -49,16 +49,17 @@ vcpkg_configure_cmake(
${FEATURE_OPTIONS}
)
vcpkg_install_cmake()
vcpkg_cmake_install()
if(EXISTS ${CURRENT_PACKAGES_DIR}/CMake)
vcpkg_fixup_cmake_targets(CONFIG_PATH CMake)
elseif(EXISTS ${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT})
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
if(EXISTS "${CURRENT_PACKAGES_DIR}/CMake")
vcpkg_cmake_config_fixup(CONFIG_PATH CMake)
elseif(EXISTS "${CURRENT_PACKAGES_DIR}/lib/cmake/${PORT}")
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
endif()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/symengine/symengine_config_cling.h")
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,11 +1,20 @@
{
"name": "symengine",
"version": "0.7.0",
"port-version": 1,
"description": "SymEngine is a fast symbolic manipulation library",
"homepage": "https://github.com/symengine/symengine",
"dependencies": [
"boost-math",
"boost-random"
"boost-random",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"default-features": [
"integer-class-boostmp"

View File

@ -6534,7 +6534,7 @@
},
"symengine": {
"baseline": "0.7.0",
"port-version": 0
"port-version": 1
},
"systemc": {
"baseline": "2.3.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "203123b8fd0517f20bada24c6e4430a6425475bd",
"version": "0.7.0",
"port-version": 1
},
{
"git-tree": "33504d33db8201730839751693d6c4f643f7e0c9",
"version": "0.7.0",