Skip to content

Commit

Permalink
Merge branch 'ign-rendering3' into fix/374
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rivero authored Oct 8, 2021
2 parents 362b15d + 19e1843 commit 6c3e64d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ign_configure_project(VERSION_SUFFIX)
# Set project-specific options
#============================================================================

option(USE_UNOFFICAL_OGRE_VERSIONS "Accept unsupported Ogre versions in the build" OFF)
option(USE_UNOFFICIAL_OGRE_VERSIONS "Accept unsupported Ogre versions in the build" OFF)

#============================================================================
# Search for project-specific dependencies
Expand Down Expand Up @@ -63,8 +63,8 @@ list(APPEND ign_ogre_components "RTShaderSystem" "Terrain" "Overlay")

# Ogre versions greater than 1.9 are not officialy supported.
# Display a warning for the users on this setup unless they provide
# USE_UNOFFICAL_OGRE_VERSIONS flag
if (NOT USE_UNOFFICAL_OGRE_VERSIONS)
# USE_UNOFFICIAL_OGRE_VERSIONS flag
if (NOT USE_UNOFFICIAL_OGRE_VERSIONS)
# Only for checking the ogre version
ign_find_package(IgnOGRE VERSION 1.10 QUIET)

Expand Down
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### Ignition Rendering 3.x.x (2021-XX-XX)

1. CMake warning on Ogre versions that are not officially supported.
To disable the new warning, it is enough to enable the cmake option USE_UNOFFICAL_OGRE_VERSIONS
To disable the new warning, it is enough to enable the cmake option USE_UNOFFICIAL_OGRE_VERSIONS
* [Pull request 376](https://github.com/ignitionrobotics/ign-rendering/pull/376)

### Ignition Rendering 3.5.0 (2021-05-25)
Expand Down
11 changes: 4 additions & 7 deletions ogre/src/OgreRenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -421,20 +421,17 @@ void OgreRenderEngine::LoadPlugins()
std::vector<std::string>::iterator piter;

#ifdef __APPLE__
std::string prefix = "lib";
std::string extension = ".dylib";
#elif _WIN32
std::string prefix = "";
std::string extension = ".dll";
#else
std::string prefix = "";
std::string extension = ".so";
#endif

plugins.push_back(path+"/"+prefix+"RenderSystem_GL");
plugins.push_back(path+"/"+prefix+"Plugin_ParticleFX");
plugins.push_back(path+"/"+prefix+"Plugin_BSPSceneManager");
plugins.push_back(path+"/"+prefix+"Plugin_OctreeSceneManager");
plugins.push_back(path+"/RenderSystem_GL");
plugins.push_back(path+"/Plugin_ParticleFX");
plugins.push_back(path+"/Plugin_BSPSceneManager");
plugins.push_back(path+"/Plugin_OctreeSceneManager");

#ifdef HAVE_OCULUS
plugins.push_back(path+"/Plugin_CgProgramManager");
Expand Down

0 comments on commit 6c3e64d

Please sign in to comment.