The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11794 
====================================================================== 
Reported By:                govage
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11794
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2011-02-04 04:53 EST
Last Modified:              2011-02-04 04:53 EST
====================================================================== 
Summary:                    Wrong behavior of InstallRequiredSystemLibraries
module under Visual Studio 2010
Description: 
If using Visual Studio 2010, InstallRequiredSystemLibraries works incorrectly if
CMAKE_INSTALL_DEBUG_LIBRARIES variable is set: msvc?100d.dll files are not found
when making the installation.

Steps to Reproduce: 
install(TARGETS someTarget RUNTIME DESTINATION bin LIBRARY DESTINATION bin
ARCHIVE DESTINATION bin)

set(CMAKE_INSTALL_DEBUG_LIBRARIES 1)
INCLUDE(InstallRequiredSystemLibraries)


Additional Information: 
To correct this issue in the file
share\cmake-2.8\Modules\InstallRequiredSystemLibraries.cmake replace the line:

"${MSVC10_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC90.DebugCRT")

by the line:

"${MSVC10_REDIST_DIR}/Debug_NonRedist/${CMAKE_MSVC_ARCH}/Microsoft.VC100.DebugCRT")

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-04 04:53 govage         New Issue                                    
======================================================================

_______________________________________________
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to