<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>&nbsp;<BR>Running the below code on both platforms produce slightly different content in QT_LIBRARIES.<BR>&nbsp;<BR>FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)<BR>&nbsp;<BR>IF (QT4_FOUND)<BR>&nbsp; MESSAGE(STATUS "QT_LIBRARIES: ${QT_LIBRARIES}"<BR>ENDIF()<BR>&nbsp;<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>&nbsp;<BR>On&nbsp;Redhat I get;<BR>"/tools/qt/lib/libQtCore.so;/tools/qt/lib/libQtGui.so"<BR>&nbsp;<BR>The Redhat version is missing the keywords "Optimzed" and "Debug".&nbsp; <BR>&nbsp;<BR>Reading the spec is appears&nbsp;the keywords are optional, is that correct?<BR>&nbsp;<BR>So when no keyword is specified, then the library can be used with all configurations?<BR>&nbsp;<BR>                                               </div></body>
</html>