From d8a06f827e1a5326e92d70a4b1a478ca98c20b28 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 15 May 2014 14:45:28 +0000 Subject: [PATCH] From Pjotr Svetachov, build fixes for VisualStudio --- include/osgUI/Export | 2 +- src/osgUI/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)