Hi Jannik,

Do you mean to send XmlParser.cpp?

$ unzip cmake_postfix_c202e4c37276e56caf650684b92a2d83f5dd5a74.zip
Archive:  cmake_postfix_c202e4c37276e56caf650684b92a2d83f5dd5a74.zip
  inflating: src/osgDB/XmlParser.cpp

As for the original email, it rather sounds like the find scripts are
the problem rather than the appending of postfix to differentiate
between the build versions.

Robert.


On 23 March 2016 at 15:48, Jannik Heller <[email protected]> wrote:
> Hi,
>
> On Linux, building the OSG with any build type other than "Release" or "" 
> results in the OSG find script being unable to find the libraries. You can 
> reproduce this issue simply by building and installing OSG with 
> -DCMAKE_BUILD_TYPE=RelWithDebInfo, then try to build a client application 
> with the same flag. The libraries aren't found due to the "rd" postfix at the 
> end.
>
> This is fixed by removing the custom build postfixes that were set in the OSG 
> cmake script. Using the cmake default postfixes will ensure that it matches 
> what the find script expects.
>
> Lastly, the code to "# Set the build postfix extension according to what 
> configuration is being built." appears to have been completely redundant, 
> according to my test cmake does that automatically.
>
> Cheers,
> Jannik
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66612#66612
>
>
>
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to