[opensource-dev] Review Request: VWR-10579: Fix NDOF.cmake to do the right thing on standalone.
Aleric Inglewood
Aleric.Inglewood at gmail.com
Mon Dec 20 06:04:05 PST 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/45/
-----------------------------------------------------------
(Updated 2010-12-20 06:04:05.704478)
Review request for Viewer.
Changes
-------
This new patch addresses Boroondas -heh- preferences ;) it tries to find NDOF and when not found prints an error and the instructions to configure with -DNDOF:BOOL=OFF if you really don't want space navigator joystick support. This is indeed very simular to how FMOD works currently.
This new patch also adds indra/cmake/FindNDOF.cmake, which was erroneously missing from the first patch, oops!
Summary (updated)
-------
On standalone, only define -DLIB_NDOF=1 when NDOF can be found.
This addresses bug VWR-10579.
http://jira.secondlife.com/browse/VWR-10579
Diffs (updated)
-----
indra/cmake/FindNDOF.cmake PRE-CREATION
indra/cmake/NDOF.cmake b0689af42a71
Diff: http://codereview.secondlife.com/r/45/diff
Testing
-------
I can't remember when I started using this, but it was long ago. I don't have libndofdev installed.
I just installed Michelle's debian package libndofdev-dev and then it found it:
-- Found NDOF: Library in '/usr/lib/libndofdev.so' and header in '/usr/include'
Thanks,
Aleric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20101220/466cc67f/attachment.htm
More information about the opensource-dev
mailing list