<div dir="ltr"><div>My guess is there's a "not" missing between "would" and "result in MY_INSTALL_DESTINATION set to"<br><br></div>Petr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 24, 2015 at 12:05 PM, Marcel Loose <span dir="ltr"><<a href="mailto:loose@astron.nl" target="_blank">loose@astron.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  

    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    Several times I've read the last paragraph of the documentation of
    module CMakeParseArguments, but I can't get my head around it. <br>
    <br>
    <blockquote>Keywords terminate lists of values, e.g. if directly
      after a
      one_value_keyword another recognized keyword follows, this is
      interpreted as the beginning of the new option. E.g.
      my_install(TARGETS foo DESTINATION OPTIONAL) would result in
      MY_INSTALL_DESTINATION set to “OPTIONAL”, but
      MY_INSTALL_DESTINATION
      would be empty and MY_INSTALL_OPTIONAL would be set to TRUE
      therefor.<br>
      <br>
    </blockquote>
    Huh? [...] MY_INSTALL_DESTINATION will be set to "OPTIONAL", but
    would be empty [...] ???<br>
    <br>
    Reading the first sentence of this paragraph, I concluded that
    MY_INSTALL_DESTINATION will be empty, not would be.<br>
    <br>
    Best regards,<br>
    Marcel Loose.<br>
    <br>
  </div>

<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br></blockquote></div><br></div>