mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:22:52 +08:00
Fix compile ode in release only (#30435)
This commit is contained in:
parent
b4039e3cb6
commit
e85355f98b
@ -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`/..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/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")
|
||||
|
@ -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",
|
||||
|
@ -5638,7 +5638,7 @@
|
||||
},
|
||||
"ode": {
|
||||
"baseline": "0.16.3",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"offscale-libetcd-cpp": {
|
||||
"baseline": "2019-07-10",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "a60eef1df499ade4a7442bd3caa8a7e684aedb72",
|
||||
"version": "0.16.3",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "254c6b22b73ff9ce79f38f282f61cd85ca590128",
|
||||
"version": "0.16.3",
|
||||
|
Loading…
Reference in New Issue
Block a user