Well DUH on me for that one. Thanks!
___________________________________________________________
Mike Jackson                      www.bluequartz.net


On Jan 5, 2011, at 2:39 PM, David Partyka wrote:

> 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.
> 
> # Add install rules for required system runtimes such as MSVCRxx.dll
> SET (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)
> INCLUDE(InstallRequiredSystemLibraries)
> IF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
>   INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
>     DESTINATION ${PV_INSTALL_BIN_DIR}
>     PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE 
> WORLD_READ
>     COMPONENT Runtime)
> 
>   # Install the runtimes to the lib dir as well since python modules are
>   # installed in that directory and the manifest files need to present there 
> as
>   # well.
>   INSTALL(FILES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}
>     DESTINATION ${PV_INSTALL_LIB_DIR}
>     PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE 
> WORLD_READ
>     COMPONENT Runtime)
> ENDIF (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS)
> 
> On Wed, Jan 5, 2011 at 2:30 PM, Michael Jackson <mike.jack...@bluequartz.net> 
> wrote:
> From the CMake 2.8.3 release I am using inside the 
> InstallRequiredSystemLibraries.cmake file all the way at the bottom is this:
> 
>    IF(WIN32)
>      INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
>    ELSE(WIN32)
>      INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})
>    ENDIF(WIN32)
> 
> Which FORCES me to install all my programs in "bin" on windows. Having 
> another directory under the main installation directory, IMHO, isn'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 "." instead of "bin". Should I file a bug/feature request?
> 
> Thanks
> ___________________________________________________________
> Mike Jackson                      www.bluequartz.net
> Principal Software Engineer       mike.jack...@bluequartz.net
> BlueQuartz Software               Dayton, Ohio
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
> 

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to