<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-05-30 13:09 GMT+04:00 Nils Gladitz <span dir="ltr"><<a href="mailto:nilsgladitz@gmail.com" target="_blank">nilsgladitz@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="">Does the cache show BOOL as the type of HDF5_ALLOW_EXTERNAL_SUPPORT or is it specifically just cmake-gui showing the wrong type?<br></div>
<br>
If it is BOOL in your CMakeCache.txt then it has to be specifically set as such from within your project somewhere.<br></blockquote><div><br></div><div>No, in CMakeCache.txt I see</div><div><br></div><div style="font-family:arial,sans-serif;font-size:13px">
//No help, variable specified on the command line.</div><div><span style="font-family:arial,sans-serif;font-size:13px">HDF5_ALLOW_EXTERNAL_SUPPORT:</span><span style="font-family:arial,sans-serif;font-size:13px">STRING="SVN"</span> </div>
<div> </div><div>Somehow, CMake got correct type there, but missed a description.<br></div><div><div>Running cmake --build . --config Release works as expected afterwards.</div></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Could there be another option() (or set() with type BOOL) or could you accidentally be running cmake on the original sources rather than the modified sources perhaps?<br></blockquote><div><br></div><div>The latter, no, I've triple-checked.</div>
<div><br></div><div>The former, I don't know ;-) I'm using CMake for the first time ever, and the project is not mine also. But searching for <span style="font-family:arial,sans-serif;font-size:13px">HDF5_ALLOW_EXTERNAL_SUPPORT didn't suggest anything particularly suspicious.</span></div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Could cmake-gui be using a build directory other than the one you are currently observing?</blockquote><div><br></div><div>No, I've triple-checked.</div><div><br></div><div>Best wishes</div><div>and thank you for you support,</div>
<div>Andrey Paramonov</div><div><br></div></div></div></div>