Fix compile ode in release only (#30435)

This commit is contained in:
talregev 2023-03-28 21:38:18 +03:00 committed by GitHub
parent b4039e3cb6
commit e85355f98b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -21,8 +21,11 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
else()
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/ode-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/..")
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/ode-config" "${CURRENT_PACKAGES_DIR}" "`dirname $0`/../..")
endif()
endif()
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,6 +1,7 @@
{
"name": "ode",
"version": "0.16.3",
"port-version": 1,
"description": "Open Dynamics Engine",
"homepage": "https://bitbucket.org/odedevs/ode/src/master/",
"license": "BSD-3-Clause OR LGPL-2.1-or-later",

View File

@ -5638,7 +5638,7 @@
},
"ode": {
"baseline": "0.16.3",
"port-version": 0
"port-version": 1
},
"offscale-libetcd-cpp": {
"baseline": "2019-07-10",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a60eef1df499ade4a7442bd3caa8a7e684aedb72",
"version": "0.16.3",
"port-version": 1
},
{
"git-tree": "254c6b22b73ff9ce79f38f282f61cd85ca590128",
"version": "0.16.3",