From 7e6d675bcdd6d6c87d1245491631a3fe2d478dde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Tue, 11 Oct 2011 07:50:00 +0000 Subject: [PATCH] Glob files and pass them to install with full path git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@437 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/CMakeLists.txt b/src/OpenMesh/Core/CMakeLists.txt index b3582442..b3c436a3 100644 --- a/src/OpenMesh/Core/CMakeLists.txt +++ b/src/OpenMesh/Core/CMakeLists.txt @@ -59,7 +59,8 @@ 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_BINARY_DIR}/Build/lib/*.lib" DESTINATION lib ) + FILE(GLOB files_install_libs "${CMAKE_BINARY_DIR}/Build/lib/*.lib" ) + INSTALL(FILES ${files_install_libs} DESTINATION lib ) endif() endif()