| --- osgocean/CMakeLists.txt.orig 2014-05-25 20:41:59.236200000 +0400 |
| +++ osgocean/CMakeLists.txt 2014-05-25 20:43:16.341800000 +0400 |
| @@ -47,7 +47,7 @@ |
| find_package (OpenThreads REQUIRED) |
| include_directories(${OPENTHREADS_INCLUDE_DIR}) |
| |
| -IF (NOT WIN32) |
| +IF (NOT WIN32 OR MINGW) |
| IF (NOT OSG_LIBRARY_DEBUG) |
| SET(OSG_LIBRARY_DEBUG ${OSG_LIBRARY}) |
| ENDIF() |
| @@ -119,7 +119,7 @@ |
| ENDIF() |
| |
| |
| -IF (WIN32) |
| +IF (WIN32 AND NOT MINGW) |
| # This option is to enable the /DYNAMICBASE switch |
| # It is used to workaround a bug in Windows 7 when linking in release, which results in corrupt |
| # binaries. See this page for details: http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/01/24/the-case-of-the-corrupt-pe-binaries.aspx |