mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 04:19:00 +08:00
[ogre] no absolute paths (#27321)
This commit is contained in:
parent
a44174524e
commit
9ec17751eb
@ -2,7 +2,7 @@ if (EXISTS "${CURRENT_INSTALLED_DIR}/Media/HLMS/Blendfunctions_piece_fs.glslt")
|
||||
message(FATAL_ERROR "FATAL ERROR: ogre-next and ogre are incompatible.")
|
||||
endif()
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_OSX)
|
||||
message("${PORT} currently requires the following library from the system package manager:\n Xaw\n\nIt can be installed on Ubuntu systems via apt-get install libxaw7-dev")
|
||||
endif()
|
||||
|
||||
@ -115,10 +115,13 @@ vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/etc/${PORT}/resources.cfg" "=../../share" "=../../../share")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/debug/Tests/Media" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/OgreTargets-debug.cmake" "${_IMPORT_PREFIX}/plugins" "${_IMPORT_PREFIX}/debug/plugins")
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/Tests/Media" "")
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/etc/ogre/samples.cfg"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ogre",
|
||||
"version": "13.4.4",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "3D Object-Oriented Graphics Rendering Engine",
|
||||
"homepage": "https://github.com/OGRECave/ogre",
|
||||
"license": "MIT",
|
||||
|
@ -5326,7 +5326,7 @@
|
||||
},
|
||||
"ogre": {
|
||||
"baseline": "13.4.4",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"ogre-next": {
|
||||
"baseline": "2.3.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2509b1b1c006fa19a60b9d4ec4dd2471af104f8d",
|
||||
"version": "13.4.4",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "065b62dee8ef6dd907c606decc1afe0953c4ad15",
|
||||
"version": "13.4.4",
|
||||
|
Loading…
Reference in New Issue
Block a user