<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi all,<br>
<br>
We develop a cmake-based application.<br>
We create several libraries which are linked to VTK and ITK
libraries.<br>
<br>
<small><small>ADD_LIBRARY( <b>QGoGui</b><br>
${QGoGUILIB_SRC}<br>
${QGoGUILIB_MOC}<br>
${QGoGUI_QRC}<br>
)<br>
<br>
SET( QGoGUI_LIBS<br>
ITKStatistics<br>
...<br>
)<br>
<br>
TARGET_LINK_LIBRARIES( <b>QGoGui</b><br>
${QGoGUI_LIBS}<br>
)</small></small><br>
<small><small><br>
INSTALL( TARGETS <b>QGoGui</b><br>
RUNTIME DESTINATION ${MYAPPLICATION_INSTALL_BIN_DIR} COMPONENT
Runtime<br>
ARCHIVE DESTINATION ${</small></small><small><small>MYAPPLICATION</small></small><small><small>_INSTALL_LIB_DIR}
COMPONENT Libraries<br>
LIBRARY DESTINATION ${</small></small><small><small>MYAPPLICATION</small></small><small><small>_INSTALL_LIB_DIR}
COMPONENT Libraries<br>
)</small></small><br>
<br>
While installing the application (make install), we would like to
install the new library (<small><b>QGoGui</b></small>) and the
linked VTK and ITK libraries (<big><b><small><small>ITKStatistics</small></small></b></big>)
into the target "/lib" folder (<small><small>${</small></small><small><small>MYAPPLICATION</small></small><small><small>_INSTALL_LIB_DIR}</small></small>)
.<br>
<br>
So far it only installs properly the new library (<small><b>QGoGui</b></small>)
(NOT <big><b><small><small>ITKStatistics</small></small></b></big>).<br>
<br>
The work around was to use fixup_bundle() for linux as well.<br>
The problem is that on Linux, all the libraries ("new" and "3rd
party") are moved to the "/bin" folder instead of the "/lib" folder.<br>
<br>
Should we specialized the behavior of fixup_bundle() for linux
somehow or should we add more instructions inside the INSTALL
command?<br>
<br>
Thanks<br>
<br>
<br>
Nicolas<br>
</body>
</html>