Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2011-11-09 22:50:48 +0400
committerAntony Riakiotakis <kalast@gmail.com>2011-11-09 22:50:48 +0400
commit2a747e8b0312b5499c74aa2faf436a7d1d52159d (patch)
treeb4f5815c2ccc2a96f5313750745250f53db9e24f /build_files/cmake/macros.cmake
parentf0adbb7746748f254533e3060e5965b3103fda97 (diff)
Fixes for MinGW cmake debug build:
* OpenEXR doesn't need debug suffix * Fix libmv template issue when linking by removing duplicate libmv inclusion. I wonder how this never turned up in release builds as well. Important: Since OpenImageIO went into trunk, OpenEXR, possibly along with other image libraries will need to be turned on too because OIIO depends on them.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r--build_files/cmake/macros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake
index c9a04f87148..c6a834050d0 100644
--- a/build_files/cmake/macros.cmake
+++ b/build_files/cmake/macros.cmake
@@ -272,7 +272,7 @@ macro(setup_liblinks
target_link_libraries(${target} ${BOOST_LIBRARIES})
endif()
if(WITH_IMAGE_OPENEXR)
- if(WIN32 AND NOT UNIX)
+ if(WIN32 AND NOT UNIX AND NOT CMAKE_COMPILER_IS_GNUCC)
file_list_suffix(OPENEXR_LIBRARIES_DEBUG "${OPENEXR_LIBRARIES}" "_d")
target_link_libraries_debug(${target} "${OPENEXR_LIBRARIES_DEBUG}")
target_link_libraries_optimized(${target} "${OPENEXR_LIBRARIES}")