From Pjotr Svetachov, build fixes for VisualStudio
This commit is contained in:
parent
85386daa25
commit
d8a06f827e
@ -31,7 +31,7 @@
|
||||
#if defined(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
|
||||
# if defined( OSG_LIBRARY_STATIC )
|
||||
# define OSGUI_EXPORT
|
||||
# elif defined( OSGVIEWER_LIBRARY )
|
||||
# elif defined( OSGUI_LIBRARY )
|
||||
# define OSGUI_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define OSGUI_EXPORT __declspec(dllimport)
|
||||
|
@ -1,6 +1,6 @@
|
||||
|
||||
IF (DYNAMIC_OPENSCENEGRAPH)
|
||||
ADD_DEFINITIONS(-DOSGGA_LIBRARY)
|
||||
ADD_DEFINITIONS(-DOSGUI_LIBRARY)
|
||||
ELSE (DYNAMIC_OPENSCENEGRAPH)
|
||||
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
||||
ENDIF(DYNAMIC_OPENSCENEGRAPH)
|
||||
|
Loading…
Reference in New Issue
Block a user