[CMake] CMake CVS gratuitous /bin directory
Brad King
brad.king at kitware.com
Thu Feb 16 17:32:07 EST 2006
Brandon J. Van Every wrote:
> I'm using CMake CVS. My .dlls are being installed to
> ${CMAKE_INSTALL_PREFIX}/bin. Everything else is being installed to
> ${CMAKE_INSTALL_PREFIX} like I thought I told it to. Is this a bug or a
> feature? It feels like a bug because of course things crash since the
> .dlls aren't in the right directory. Here's my snippet:
Read the documentation of the INSTALL_TARGETS command. You have to use
the RUNTIME_DIRECTORY option to specify the location of the .dll part of
a SHARED library. The default is /bin for SHARED libraries because most
projects use /bin. For a MODULE or STATIC library the install location
you specify should be used.
-Brad
More information about the CMake
mailing list