The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=12371 ====================================================================== Reported By: Michael Broutin Assigned To: ====================================================================== Project: CMake Issue ID: 12371 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2011-07-29 04:42 EDT Last Modified: 2011-07-29 04:42 EDT ====================================================================== Summary: Resource compilation gets wrong parameters on CB+MingW Description: Hi, First, please see this thread on the Ogre Forum : http://www.ogre3d.org/forums/viewtopic.php?f=2&t=63559
It appears that from CMake 2.8.4 (tested : not fixed in CMake 2.8.5), there's a problem with resource compiling with mingw : windres.exe is called with what should be a compiler-only option (something like -msse), so compilation fails... Right now, the only recommendation is : don't use CMake version above 2.8.3 ... Is there a better workaround? Or can it be fixed within CMake itself? Steps to Reproduce: Get the Ogre source. Try to compile it with Code::Blocks/MingW (Visual Studio doesn't have this problem) Additional Information: Attached : CMakeLists.txt from OgreMain ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2011-07-29 04:42 Michael BroutinNew Issue 2011-07-29 04:42 Michael BroutinFile Added: CMakeLists.txt ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers