You override this behavior by setting CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP to ON and then providing your own install rules. See the following chunk from ParaView.<div><br></div><div><div># Add install rules for required system runtimes such as MSVCRxx.dll</div>

<div>SET (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)</div><div>INCLUDE(InstallRequiredSystemLibraries)</div><div>IF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)</div><div>  INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}</div>
<div>
    DESTINATION ${PV_INSTALL_BIN_DIR}</div><div>    PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ</div><div>    COMPONENT Runtime)</div><div><br></div><div>  # Install the runtimes to the lib dir as well since python modules are</div>

<div>  # installed in that directory and the manifest files need to present there as</div><div>  # well.</div><div>  INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}</div><div>    DESTINATION ${PV_INSTALL_LIB_DIR}</div>

<div>    PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ</div><div>    COMPONENT Runtime)</div><div>ENDIF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)</div><br><div class="gmail_quote">On Wed, Jan 5, 2011 at 2:30 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">From the CMake 2.8.3 release I am using inside the InstallRequiredSystemLibraries.cmake file all the way at the bottom is this:<br>


<br>
    IF(WIN32)<br>
      INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})<br>
    ELSE(WIN32)<br>
      INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})<br>
    ENDIF(WIN32)<br>
<br>
Which FORCES me to install all my programs in &quot;bin&quot; on windows. Having another directory under the main installation directory, IMHO, isn&#39;t needed for some smaller projects. Besides hacking CMake, are there any plans to make the installation location a variable? For instance I would like to just install them into &quot;.&quot; instead of &quot;bin&quot;. Should I file a bug/feature request?<br>


<br>
Thanks<br>
___________________________________________________________<br>
Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software               Dayton, Ohio<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</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>
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>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>