diff options
author | Fotios Sioutis <sfotis@gmail.com> | 2011-11-14 10:17:08 +0200 |
---|---|---|
committer | unknown <�������@.dyn.tsl.infowood> | 2011-11-14 10:25:53 +0200 |
commit | 6790b027a930fd44e2b9ba629d8134087dad3de7 (patch) | |
tree | e1cd81cf32b112385daabf9ff6508049e78a0510 | |
parent | 9759269aedd2006018bb84d897340623eab773f7 (diff) | |
download | oce-6790b027a930fd44e2b9ba629d8134087dad3de7.tar.gz oce-6790b027a930fd44e2b9ba629d8134087dad3de7.zip |
Default build (no macros) should be shared lib.
In order to compile succesfully under non cmake platforms the
default build (that has no macros defined) should point to
shared libraries creation.Solves wok compilation without applying
patches to it.WARNING : Modifications needed to CMakeLists.txt
-rw-r--r-- | src/Graphic3d/Graphic3d_GraphicDevice.cxx | 2 | ||||
-rw-r--r-- | src/Graphic3d/Graphic3d_WNTGraphicDevice.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Graphic3d/Graphic3d_GraphicDevice.cxx b/src/Graphic3d/Graphic3d_GraphicDevice.cxx index c014fa2f..fe5bf00e 100644 --- a/src/Graphic3d/Graphic3d_GraphicDevice.cxx +++ b/src/Graphic3d/Graphic3d_GraphicDevice.cxx @@ -126,7 +126,7 @@ Handle(Aspect_GraphicDriver) Graphic3d_GraphicDevice::GraphicDriver () const { } -#ifdef OCE_BUILD_SHARED_LIB +#if !defined(OCE_BUILD_STATIC_LIB) && !defined(HAVE_NO_DLL) void Graphic3d_GraphicDevice::SetGraphicDriver () { Standard_CString TheShr; diff --git a/src/Graphic3d/Graphic3d_WNTGraphicDevice.cxx b/src/Graphic3d/Graphic3d_WNTGraphicDevice.cxx index e148a7a5..3c89e1f8 100644 --- a/src/Graphic3d/Graphic3d_WNTGraphicDevice.cxx +++ b/src/Graphic3d/Graphic3d_WNTGraphicDevice.cxx @@ -44,7 +44,7 @@ Handle(Aspect_GraphicDriver) Graphic3d_WNTGraphicDevice::GraphicDriver () const } -#ifdef OCE_BUILD_SHARED_LIB +#if !defined(OCE_BUILD_STATIC_LIB) && !defined(HAVE_NO_DLL) void Graphic3d_WNTGraphicDevice::SetGraphicDriver () { |