root/OpenSceneGraph/trunk/examples/osgoit/CMakeLists.txt @ 13556

Revision 13556, 124 bytes (checked in by robert, 3 days 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
Line 
1SET(TARGET_SRC
2    osgoit.cpp
3    DepthPeeling.h
4    DepthPeeling.cpp
5    HeatMap.h
6    HeatMap.cpp)
7
8SETUP_EXAMPLE(osgoit)
Note: See TracBrowser for help on using the browser.