From 1aeb663c66f2648dc597a176b880489d090a5171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 11 Oct 2011 08:08:00 +0000 Subject: [PATCH] Make sure that we install all dlls into install directory on windows git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@438 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Apps/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/OpenMesh/Apps/CMakeLists.txt b/src/OpenMesh/Apps/CMakeLists.txt index d0ddfb93..15f6fd60 100644 --- a/src/OpenMesh/Apps/CMakeLists.txt +++ b/src/OpenMesh/Apps/CMakeLists.txt @@ -49,6 +49,15 @@ if (QT4_FOUND AND OPENGL_FOUND AND GLUT_FOUND ) add_dependencies (fixbundle DecimaterGui ProgViewer QtViewer SubdividerGui Synthesizer) endif() + # Make sure that we install all dlls into install directory on windows + if ( ${PROJECT_NAME} MATCHES "OpenMesh") + if ( WIN32 ) + FILE(GLOB files_install_app_dlls "${CMAKE_BINARY_DIR}/Build/*.dll" ) + INSTALL(FILES ${files_install_app_dlls} DESTINATION . ) + endif() + endif() + + else ()