root/OpenSceneGraph/trunk/src/osgPlugins/ive/Geometry.h @ 13557

Revision 13557, 273 bytes (checked in by robert, 45 hours ago)

From Alberto Luaces,"the current code uses the preprocessor for generating the plugin path in
a way that when CMAKE_INSTALL_PREFIX contains something along the lines
of

/usr/x86_64-linux-gnu/

it gets substituted as

/usr/x86_64-1-gnu/

that is, the string is preprocessed again, thereby making changes to
anything that matches any defined symbol, as "linux" in this example
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=763816).

Quoting that path directly in CMake scripts solves that problem.
"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#ifndef IVE_GEOMETRY
2#define IVE_GEOMETRY 1
3
4#include <osg/Geometry>
5#include "ReadWrite.h"
6
7namespace ive{
8class Geometry : public ReadWrite, public deprecated_osg::Geometry {
9public:
10    void write(DataOutputStream* out);
11    void read(DataInputStream* in);
12};
13}
14
15#endif
Note: See TracBrowser for help on using the browser.