From 6327d3d7d7761fb174995992e3521e533ec38f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 11 Oct 2011 07:22:12 +0000 Subject: [PATCH] Install release and debug on windows from same build dir git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@432 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/OpenMesh/Core/CMakeLists.txt b/src/OpenMesh/Core/CMakeLists.txt index af0375fe..20b5be30 100644 --- a/src/OpenMesh/Core/CMakeLists.txt +++ b/src/OpenMesh/Core/CMakeLists.txt @@ -56,6 +56,13 @@ if ( ${PROJECT_NAME} MATCHES "OpenMesh") endif() +# if we build debug and release in the same dir, we want to install both! +if ( ${PROJECT_NAME} MATCHES "OpenMesh") + if ( WIN32 ) + INSTALL(FILES "${CMAKE_CURRENT_BUILD_DIR}/Build/lib/lib*.lib" lib ) + endif() +endif() + # Install Header Files (Apple) if ( NOT ACG_PROJECT_MACOS_BUNDLE AND APPLE )