In this fork I've also changed the default for OSG_USE_FLOAT_MATRIX to ON so you do not have to mess with cmake settings to get the most optimal performance.
Note you can install different builds of OSG locally, without conflicting with the system wide install. I do it like this:
Code: Select all
# while building OSG
cmake .. -DCMAKE_INSTALL_PREFIX=./install
# while building OpenMW
rm CMakeCache.txt
cmake .. -DCMAKE_PREFIX_PATH=<path/to/install> -DCMAKE_LIBRARY_PATH=<path/to/install>/lib64/ -DCMAKE_INCLUDE_PATH=<path/to/install/>include
# to make sure that OSG finds its plugins, add <path/to/install>/lib64/ to LD_LIBRARY_PATH