title: CMAKE install TARGETS given no ARCHIVE DESTINATION
body: <p>I am looking for the method to solve this error, and I have been searched one in this web site, seems the same error occurred again, <strong>I was try the way to solve the error which is mentioned by the author like this:</strong></p>
  
  <blockquote>
    <p>Blockquote</p>
  </blockquote>
  
  <p>changing this:</p>
  
  <pre><code>INSTALL(
  
    TARGETS lemon
  
    ARCHIVE DESTINATION lib
  
    COMPONENT library
  
  )
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>INSTALL(
  
    TARGETS lemon
  
    ARCHIVE DESTINATION lib
  
    LIBRARY DESTINATION lib
  
    COMPONENT library
  )
  </code></pre>
  
  <blockquote>
    <p>Blockquote</p>
  </blockquote>
  
  <p>the section of "LIBRARY DESTINATION XXX" in my "Makefilelist.txt" is already there, that means i can not solve the error by using this method. <strong>so how can I do for fix this error and why this error happen?</strong> </p>
  
  <p>besides: the error turn up when I complies the "TagLib" project which is an open source project for process music media tag, my CMake version is 3.9.1 and the TagLib version is 1.11.1, the make tool is linked to "mingw32-make", i want to using the TagLib in Qt (Qt creator version 4.3.1 Qt core version 5.4.2).</p>