title: Cmake library outdir
body: <p>I cant output my lib to my lib folder , I tried this , and it outputs to lib/debug
  but I need  output mylib.lib exactly to ${CMAKE_CURRENT_SOURCE_DIR}/lib</p>
  <pre><code>add_library(mylib STATIC  ${SOURCES} ${HEADERS})
  set_target_properties(mylib PROPERTIES
          ARCHIVE_OUTPUT_DIRECTORY   ${CMAKE_CURRENT_SOURCE_DIR}/lib   
      )
  </code></pre>