[cmake-developers] [CMake 0012444]: Starting with CMake 2.8.4 it passes invalid msse flag when compiling with MinGW
Mantis Bug Tracker
mantis at public.kitware.com
Sat Sep 3 06:08:29 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12444
======================================================================
Reported By: Michael Kapelko
Assigned To:
======================================================================
Project: CMake
Issue ID: 12444
Category: CMake
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2011-09-03 06:08 EDT
Last Modified: 2011-09-03 06:08 EDT
======================================================================
Summary: Starting with CMake 2.8.4 it passes invalid msse
flag when compiling with MinGW
Description:
2.8.3 is the last version that works correctly with Ogre:
http://www.ogre3d.org/forums/viewtopic.php?f=2&p=421826
The problem is that it passes -msse to custom command that invokes windres.exe
to compile resources:
src/OgreMain/CMakeLists.txt:
- - - -
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/OgreWin32Resources.rc.obj
COMMAND ${OGRE_MINGW_RC} -I${CMAKE_CURRENT_SOURCE_DIR}/src/WIN32
-i${CMAKE_CURRENT_SOURCE_DIR}/src/WIN32/OgreWin32Resources.rc
-o${CMAKE_CURRENT_BINARY_DIR}/OgreWin32Resources.rc.obj
DEPENDS ${RESOURCE_FILES})
- - - -
Steps to Reproduce:
Just try to compile Ogre under Windows with CMake >= 2.8.4.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-09-03 06:08 Michael KapelkoNew Issue
======================================================================
More information about the cmake-developers
mailing list