Skip to content

Commit

Permalink
Fix another resource path
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Oct 5, 2022
1 parent cf0f92a commit ff1d471
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ports/ogre/cfg-rel-paths.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,16 @@ index cfe7db3..9a92608 100644
set(OGRE_CORE_MEDIA_DIR "${OGRE_MEDIA_DIR_REL}")
# CREATE CONFIG FILES - INSTALL VERSIONS
configure_file(${OGRE_TEMPLATES_DIR}/resources.cfg.in ${PROJECT_BINARY_DIR}/inst/bin/resources.cfg)
diff --git a/Components/Bites/CMakeLists.txt b/Components/Bites/CMakeLists.txt
index 045e288..50c9956 100644
--- a/Components/Bites/CMakeLists.txt
+++ b/Components/Bites/CMakeLists.txt
@@ -135,7 +135,7 @@ elseif(UNIX)
set_source_files_properties(src/OgreBitesConfigDialog.cpp PROPERTIES COMPILE_DEFINITIONS HAVE_XAW)
list(APPEND SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/OgreGLXConfigDialog.cpp")
list(APPEND DEPENDENCIES ${X11_Xt_LIB} ${XAW_LIBRARY})
- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/misc/GLX_backdrop.png" DESTINATION "share/OGRE/")
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/misc/GLX_backdrop.png" DESTINATION "${OGRE_MEDIA_PATH}/..")
endif()
endif()

0 comments on commit ff1d471

Please sign in to comment.