[cmake-developers] [CMake 0011794]: Wrong behavior of InstallRequiredSystemLibraries module under Visual Studio 2010
Mantis Bug Tracker
mantis at public.kitware.com
Fri Feb 4 04:53:53 EST 2011
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
======================================================================
More information about the cmake-developers
mailing list