Hi all,
We develop a cmake-based application.
We create several libraries which are linked to VTK and ITK libraries.
ADD_LIBRARY( *QGoGui*
${QGoGUILIB_SRC}
${QGoGUILIB_MOC}
${QGoGUI_QRC}
)
SET( QGoGUI_LIBS
ITKStatistics
...
)
TARGET_LINK_LIBRARIES( *QGoGui*
${QGoGUI_LIBS}
)
INSTALL( TARGETS *QGoGui*
RUNTIME DESTINATION ${MYAPPLICATION_INSTALL_BIN_DIR} COMPONENT Runtime
ARCHIVE DESTINATION ${MYAPPLICATION_INSTALL_LIB_DIR} COMPONENT Libraries
LIBRARY DESTINATION ${MYAPPLICATION_INSTALL_LIB_DIR} COMPONENT Libraries
)
While installing the application (make install), we would like to
install the new library (*QGoGui*) and the linked VTK and ITK libraries
(*ITKStatistics*) into the target "/lib" folder
(${MYAPPLICATION_INSTALL_LIB_DIR}) .
So far it only installs properly the new library (*QGoGui*) (NOT
*ITKStatistics*).
The work around was to use fixup_bundle() for linux as well.
The problem is that on Linux, all the libraries ("new" and "3rd party")
are moved to the "/bin" folder instead of the "/lib" folder.
Should we specialized the behavior of fixup_bundle() for linux somehow
or should we add more instructions inside the INSTALL command?
Thanks
Nicolas
_______________________________________________
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