<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Using Latest version of CMake on Windows 7 and Redhat 6<BR> <BR>Running the below code on both platforms produce slightly different content in QT_LIBRARIES.<BR> <BR>FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)<BR> <BR>IF (QT4_FOUND)<BR> MESSAGE(STATUS "QT_LIBRARIES: ${QT_LIBRARIES}"<BR>ENDIF()<BR> <BR>On Windows I get;<BR>"Optimized;c:/tools/qt/lib/QtCore4.dll;debug;c:/tools/qt/lib/QtCored4.dll;<BR>Optimized;c:/tools/qt/lib/QtGui4.dll;debug;c:/tools/qt/lib/QtGuid4.dll;"<BR> <BR>On Redhat I get;<BR>"/tools/qt/lib/libQtCore.so;/tools/qt/lib/libQtGui.so"<BR> <BR>The Redhat version is missing the keywords "Optimzed" and "Debug". <BR> <BR>Reading the spec is appears the keywords are optional, is that correct?<BR> <BR>So when no keyword is specified, then the library can be used with all configurations?<BR> <BR>                                            </div></body>
</html>