Test EXPORTS definition with target name as suggested by cmake
This commit is contained in:
parent
e3e64a8856
commit
74459a0d46
@ -26,7 +26,7 @@
|
||||
// $Header:
|
||||
//
|
||||
#ifdef WIN32
|
||||
#ifdef NETGENPLUGIN_GUI_EXPORTS
|
||||
#if defined NETGENPLUGIN_GUI_EXPORTS || defined NETGENPluginGUI_EXPORTS
|
||||
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _NETGENPlugin_DEFS_HXX_
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef NETGENPLUGIN_EXPORTS
|
||||
#if defined NETGENPLUGIN_EXPORTS || defined NETGENEngine_EXPORTS
|
||||
#define NETGENPLUGIN_EXPORT __declspec( dllexport )
|
||||
#else
|
||||
#define NETGENPLUGIN_EXPORT __declspec( dllimport )
|
||||
|
Loading…
Reference in New Issue
Block a user