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(_MSC_VER) || defined(__CYGWIN__) || defined(__MINGW32__) || defined( __BCPLUSPLUS__) || defined( __MWERKS__)
|
||||||
# if defined( OSG_LIBRARY_STATIC )
|
# if defined( OSG_LIBRARY_STATIC )
|
||||||
# define OSGUI_EXPORT
|
# define OSGUI_EXPORT
|
||||||
# elif defined( OSGVIEWER_LIBRARY )
|
# elif defined( OSGUI_LIBRARY )
|
||||||
# define OSGUI_EXPORT __declspec(dllexport)
|
# define OSGUI_EXPORT __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
# define OSGUI_EXPORT __declspec(dllimport)
|
# define OSGUI_EXPORT __declspec(dllimport)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
IF (DYNAMIC_OPENSCENEGRAPH)
|
IF (DYNAMIC_OPENSCENEGRAPH)
|
||||||
ADD_DEFINITIONS(-DOSGGA_LIBRARY)
|
ADD_DEFINITIONS(-DOSGUI_LIBRARY)
|
||||||
ELSE (DYNAMIC_OPENSCENEGRAPH)
|
ELSE (DYNAMIC_OPENSCENEGRAPH)
|
||||||
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
|
||||||
ENDIF(DYNAMIC_OPENSCENEGRAPH)
|
ENDIF(DYNAMIC_OPENSCENEGRAPH)
|
||||||
|
Loading…
Reference in New Issue
Block a user