Commit 9a734b40 authored by saubatn's avatar saubatn
Browse files

FIXED : dlls name mismatch for MinGW packaging.

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@369 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 842ca371
......@@ -134,21 +134,21 @@ if (UNIX AND NOT WIN32)
# Dependencies depending on the Operating System.
# Ubuntu11.10
if("${LSB_DISTRIB}" MATCHES "Ubuntu11.10")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.6-qt4, libxerces-c3.1 ")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.6-qt4, libxerces-c3.1 ")
endif()
# For Ubuntu12.xx
if("${LSB_DISTRIB}" MATCHES "Ubuntu12.04")
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
endif()
if("${LSB_DISTRIB}" MATCHES "Ubuntu12.04.1")
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
endif()
if("${LSB_DISTRIB}" MATCHES "Ubuntu12.10")
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
endif()
set(LSB_DISTRIB "Ubuntu12.xx")
set(CPACK_DEBIAN_PACKAGE_DEPENDS "libqt4-dev, libinsighttoolkit3.20, libxml2, libvtk5.8-qt4, libxerces-c3.1 ")
endif()
# TODO Debian dependencies
# if("${LSB_DISTRIB}" MATCHES "Debian5.*")
......@@ -160,7 +160,7 @@ if (UNIX AND NOT WIN32)
# endif("${LSB_DISTRIB}" MATCHES "Debiantesting")
if(NOT CPACK_DEBIAN_PACKAGE_DEPENDS)
message(STATUS "Packaging for ${LSB_DISTRIB} not supported yet.\n")
message(STATUS "Packaging for ${LSB_DISTRIB} not supported yet.\n")
endif()
endif()
......@@ -199,7 +199,7 @@ if(WIN32 AND NOT UNIX)
set(CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS
##TODO use GetPrerequisites.cmake (i.e. find a better way to list dependencies)
##get_prerequisites() is not well enough documented to justify the time investement - EP May 2011
# Qt dependencies
# Qt dependencies
${QT_BINARY_DIR}/QtCore4.dll
${QT_BINARY_DIR}/QtGui4.dll
${QT_BINARY_DIR}/QtSvg4.dll
......@@ -207,7 +207,7 @@ if(WIN32 AND NOT UNIX)
${QT_BINARY_DIR}/QtNetwork4.dll
${QT_BINARY_DIR}/QtSql4.dll
${QT_BINARY_DIR}/QtWebKit4.dll
# VTK dependencies
# VTK dependencies
${VTK_LIBRARY_DIRS}/libQVTK.dll
${VTK_LIBRARY_DIRS}/libvtkCommon.dll
${VTK_LIBRARY_DIRS}/libvtksys.dll
......@@ -236,17 +236,17 @@ if(WIN32 AND NOT UNIX)
${VTK_LIBRARY_DIRS}/libvtkViews.dll
${VTK_LIBRARY_DIRS}/libvtkexoIIc.dll
${VTK_LIBRARY_DIRS}/libvtkWidgets.dll
${VTK_LIBRARY_DIRS}/libvtkhdf5.dll
${VTK_LIBRARY_DIRS}/libvtkhdf5_hl.dll
${VTK_LIBRARY_DIRS}/libLSDyna.dll
${VTK_LIBRARY_DIRS}/vtkhdf5.dll
${VTK_LIBRARY_DIRS}/vtkhdf5_hl.dll
${VTK_LIBRARY_DIRS}/libLSDyna.dll
# Xerces-c dependency
${XERCESC_ROOT_DIR}/bin/xerces-c_3_1.dll
# Libxml2 dependencies
${LIBXML2_INCLUDE_DIR}/../bin/iconv.dll
${LIBXML2_INCLUDE_DIR}/../bin/libxml2.dll
${LIBXML2_INCLUDE_DIR}/../bin/zlib1.dll
# ITK dependency
${ITK_DIR}/../../bin/libITKCommon.dll
# ITK dependency
${ITK_DIR}/../../bin/libITKCommon.dll
)
endif()
......@@ -267,7 +267,7 @@ if(WIN32 AND NOT UNIX)
${QT_BINARY_DIR}/QtNetwork4.dll
${QT_BINARY_DIR}/QtSql4.dll
${QT_BINARY_DIR}/QtWebKit4.dll
# VTK dependencies
# VTK dependencies
${VTK_LIBRARY_DIRS}/Release/QVTK.dll
${VTK_LIBRARY_DIRS}/Release/vtkCommon.dll
${VTK_LIBRARY_DIRS}/Release/vtksys.dll
......@@ -296,17 +296,17 @@ if(WIN32 AND NOT UNIX)
${VTK_LIBRARY_DIRS}/Release/vtkViews.dll
${VTK_LIBRARY_DIRS}/Release/vtkexoIIc.dll
${VTK_LIBRARY_DIRS}/Release/vtkWidgets.dll
${VTK_LIBRARY_DIRS}/Release/vtkhdf5.dll
${VTK_LIBRARY_DIRS}/Release/vtkhdf5_hl.dll
${VTK_LIBRARY_DIRS}/Release/LSDyna.dll
${VTK_LIBRARY_DIRS}/Release/vtkhdf5.dll
${VTK_LIBRARY_DIRS}/Release/vtkhdf5_hl.dll
${VTK_LIBRARY_DIRS}/Release/LSDyna.dll
# Xerces-c dependency
${XERCESC_ROOT_DIR}/bin/xerces-c_3_1.dll
# Libxml2 dependencies
${LIBXML2_INCLUDE_DIR}/../bin/iconv.dll
${LIBXML2_INCLUDE_DIR}/../bin/libxml2.dll
${LIBXML2_INCLUDE_DIR}/../bin/zlib1.dll
# ITK dependency
${ITK_DIR}/../../bin/ITKCommon.dll
# ITK dependency
${ITK_DIR}/../../bin/ITKCommon.dll
)
endif()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment