diff --git a/include/osgUI/Export b/include/osgUI/Export index 28c194206..2f9bc9715 100644 --- a/include/osgUI/Export +++ b/include/osgUI/Export @@ -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) diff --git a/src/osgUI/CMakeLists.txt b/src/osgUI/CMakeLists.txt index f081a7157..a035dfe59 100644 --- a/src/osgUI/CMakeLists.txt +++ b/src/osgUI/CMakeLists.txt @@ -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)