<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText>&gt;&gt; 1) The default install directory on Windows is C:\Program Files, or <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; C:\Program Files (x86) on 64 bit. ?This default will not work on <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; Windows 7 (and perhaps Vista), because the user isn't running as <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; administrator anymore, and only administrators can modify that <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; directory. ?There should probably be a warning to that effect on <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; windows systems; otherwise, there are painful ways to run install, but <o:p></o:p></p><p class=MsoPlainText>&gt;&gt; they are painful.<o:p></o:p></p><p class=MsoPlainText>&gt;<o:p>&nbsp;</o:p></p><p class=MsoPlainText>&gt;Most developers run as administrator so I don't think there should be a warning.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>As a matter of fact, most developers do NOT run as administrator on Win7 and Vista; default users start with a split security token and you have to elevate permissions to write to the &#8216;program files&#8217; directory.&nbsp; The only way around this is to turn off UAC; that&#8217;s an individual decision whether one feels safe doing that.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I would also like to see the default install directory for cmake change.&nbsp; In the meantime, I have my cmake script itself change the default:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal># On windows, it's convenient to change the default install prefix such that it does NOT point to 'program files'<o:p></o:p></p><p class=MsoNormal>if( WIN32 AND CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT )<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set( CMAKE_INSTALL_PREFIX &quot;${PROJECT_BINARY_DIR}/install&quot; CACHE PATH &quot;Install path prefix, prepended onto install directories&quot; FORCE )<o:p></o:p></p><p class=MsoNormal>endif( )<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>