Paul Martz wrote:
Thanks for your help, Bill.

So, I think you don't need the macro at all for 2.4.8 and greater.

It should just be:

target_link_libraries(osgDB osg OpenThreads)

Will this correctly append the "d" suffix for debug builds? That is,
"osg.lib" for release, and "osgd.lib" for debug. Appending "d" to the base
library file name is one of the tasks that this macro performs, so if we're
going to get rid of the macro, I want to make sure we still have a way to
differentiate between debug and release libs.


Yes, 2.6 should do all that for you now, as long as the things you are linking are part of the osg cmake build.

-Bill
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to