CMake skip install under Linux
<p>I'm very new to cmake, and in my cmake script(3.12) it happens, that the following commands are executed fine under windows</p>

<pre><code>  add_library(${LIB_NAME} STATIC ${SOURCES}) 
  install(TARGETS ${LIB_NAME} DESTINATION lib)
</code></pre>

<p>but under linux (mint 17.2) the install routine is skipped and the lib folder is empty after calling make.</p>

<p><strong>Q</strong>: What has to be changed, that lib.a is copied to the lib folder.</p>

<p><strong>EDIT:</strong>
    The <code>LIB_NAME</code> is created as follow</p>

<pre><code>SET(PROJECT_NAME_STR System)
SET(LIB_NAME "${PROJECT_NAME_STR}_s")
</code></pre>