Commit f76262a5 authored by Jan Möbius's avatar Jan Möbius
Browse files

cmake openmp define change

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5607 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cfe24520
...@@ -65,23 +65,25 @@ ...@@ -65,23 +65,25 @@
/** Enable openmp where possible (for gcc version >= 4.3) /** Enable openmp where possible (for gcc version >= 4.3)
*/ */
#if GCC_VERSION >= 4030 #ifndef USE_OPENMP
#define USE_OPENMP #if GCC_VERSION >= 4030
#define USE_OPENMP
#endif
#endif #endif
#ifndef DLLEXPORT #ifndef DLLEXPORT
#ifdef WIN32 #ifdef WIN32
#ifdef PLUGINLIBDLL #ifdef PLUGINLIBDLL
#ifdef USEPLUGINLIBDLL #ifdef USEPLUGINLIBDLL
#define DLLEXPORT __declspec(dllimport) #define DLLEXPORT __declspec(dllimport)
#define DLLEXPORTONLY #define DLLEXPORTONLY
#else #else
#define DLLEXPORT __declspec(dllexport) #define DLLEXPORT __declspec(dllexport)
#define DLLEXPORTONLY __declspec(dllexport) #define DLLEXPORTONLY __declspec(dllexport)
#endif #endif
#else #else
#define DLLEXPORT #define DLLEXPORT
#define DLLEXPORTONLY #define DLLEXPORTONLY
#endif #endif
#else #else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment