title: How do I write CMake install for a library?
body: <p>Here is my try:</p>
  
  <pre><code>IF (NOT WIN32)
    #INSTALL_TARGETS(${LIB_INSTALL_DIR} ${tinyscheme-nix_BINARY_DIR}/libtinyscheme.so)
    #INSTALL(TARGETS ${tinyscheme-nix_BINARY_DIR}/libtinyscheme.so DESTINATION ${LIB_INSTALL_DIR})
  ENDIF()
  </code></pre>
  
  <p>Both variants are wrong. I want to move <code>libtinyscheme.so</code> from <code>${tinyscheme-nix_BINARY_DIR}</code> to <code>/lib</code> or <code>/lib64</code>. Basically, I think <code>${LIB_INSTALL_DIR}</code> handles it.</p>
  
  <p>How can I make it? Where is my mistake?</p>