Fixed build
This commit is contained in:
parent
b4dffc5bf4
commit
f38d1cdbb4
@ -1,5 +1,7 @@
|
||||
SET(TARGET_SRC osgintrospection.cpp )
|
||||
SET(TARGET_ADDED_LIBRARIES osgIntrospection )
|
||||
|
||||
ADD_DEFINITIONS(-DOSG_PLUGIN_EXTENSION=${CMAKE_SHARED_MODULE_SUFFIX})
|
||||
|
||||
#### end var setup ###
|
||||
SETUP_EXAMPLE(osgintrospection)
|
||||
|
@ -25,13 +25,13 @@
|
||||
#include <osgIntrospection/PropertyInfo>
|
||||
|
||||
#include <osgDB/DynamicLibrary>
|
||||
#include <osg/Object>
|
||||
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
using namespace osgIntrospection;
|
||||
|
||||
|
||||
// borrowed from osgDB...
|
||||
std::string createLibraryNameForWrapper(const std::string& ext)
|
||||
{
|
||||
@ -49,9 +49,9 @@ std::string createLibraryNameForWrapper(const std::string& ext)
|
||||
#endif
|
||||
#endif
|
||||
#elif macintosh
|
||||
return "osgwrapper_"+ext;
|
||||
return "osgwrapper_" + ext;
|
||||
#else
|
||||
return "osgwrapper_"+ext+ ADDQUOTES(OSG_PLUGIN_EXTENSION);
|
||||
return "osgwrapper_" + ext + ADDQUOTES(OSG_PLUGIN_EXTENSION);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user