mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-02 03:06:43 +00:00
OSG version check
This commit is contained in:
parent
da9a3daf94
commit
24d90ec54d
2 changed files with 8 additions and 3 deletions
|
@ -259,8 +259,11 @@ if(NOT HAVE_STDINT_H)
|
||||||
message(FATAL_ERROR "stdint.h was not found" )
|
message(FATAL_ERROR "stdint.h was not found" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(OSG_VERSION_REQUIRED "3.3.4")
|
||||||
find_package(OpenSceneGraph 3.3.4 REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow osgAnimation)
|
if(BUILD_OPENMW_VR)
|
||||||
|
set(OSG_VERSION_REQUIRED "3.6.5")
|
||||||
|
endif()
|
||||||
|
find_package(OpenSceneGraph ${OSG_VERSION_REQUIRED} REQUIRED osgDB osgViewer osgText osgGA osgParticle osgUtil osgFX osgShadow osgAnimation)
|
||||||
include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS})
|
include_directories(SYSTEM ${OPENSCENEGRAPH_INCLUDE_DIRS})
|
||||||
|
|
||||||
set(USED_OSG_PLUGINS
|
set(USED_OSG_PLUGINS
|
||||||
|
|
|
@ -139,7 +139,9 @@ At this point most mainstream headsets have OpenXR implementations, but some may
|
||||||
Building
|
Building
|
||||||
--------
|
--------
|
||||||
On windows, the fork builds with the same instructions as [building openmw](https://wiki.openmw.org/index.php?title=Development_Environment_Setup#MSVC_2017-2019).
|
On windows, the fork builds with the same instructions as [building openmw](https://wiki.openmw.org/index.php?title=Development_Environment_Setup#MSVC_2017-2019).
|
||||||
On linux, however, openmw does not package binaries for external dependencies. It is therefore necessary to build your own copy of [my fork of OSG](https://github.com/madsbuvi/osg) that contains stereo fixes, until these are accepted upstream.
|
|
||||||
|
On linux, however, openmw does not package binaries for external dependencies. This fork is written against OSG version 3.6.5 and earlier versions may not work or even compile.
|
||||||
|
It may therefore be necessary to build your own version of OSG. For now, I advise building [my fork of OSG](https://github.com/madsbuvi/osg) that contain a stereo fix, without which the water shader may break.
|
||||||
|
|
||||||
VR Controls
|
VR Controls
|
||||||
---------------------
|
---------------------
|
||||||
|
|
Loading…
Reference in a new issue