summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-08-17 13:48:24 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-08-17 13:48:24 (GMT)
commite4e6ea0714dd9a1edf157676e49dbf0ef9abd0d2 (patch)
tree12dd1771565ef2096adc0b8ccca5568710d647e7
parent186e9bdc22256039948338d91ab3be02893ab17a (diff)
downloadCMake-e4e6ea0714dd9a1edf157676e49dbf0ef9abd0d2.zip
CMake-e4e6ea0714dd9a1edf157676e49dbf0ef9abd0d2.tar.gz
CMake-e4e6ea0714dd9a1edf157676e49dbf0ef9abd0d2.tar.bz2
InstallRequiredSystemLibraries: Use correct file names (#13315)
The Spanish language MFC localization dll changed names from VS 9 to 10. Use the correct file name ending with "esn.dll" instead of the now non-existent one ending with "esp.dll" Also, add the existing, but missing from our rules until now, Russian language module. Alphabetize the list while we're at it for easier reading in the future. We may want to consider adding some file(GLOB code here to minimize the risk of missing files added in future versions of VS.
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 19b06d5..bd97501 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -312,13 +312,14 @@ if(MSVC)
set(__install__libs ${__install__libs}
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0chs.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0cht.dll"
- "${MSVC${v}_MFCLOC_DIR}/mfc${v}0enu.dll"
- "${MSVC${v}_MFCLOC_DIR}/mfc${v}0esp.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0deu.dll"
+ "${MSVC${v}_MFCLOC_DIR}/mfc${v}0enu.dll"
+ "${MSVC${v}_MFCLOC_DIR}/mfc${v}0esn.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0fra.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0ita.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0jpn.dll"
"${MSVC${v}_MFCLOC_DIR}/mfc${v}0kor.dll"
+ "${MSVC${v}_MFCLOC_DIR}/mfc${v}0rus.dll"
)
endmacro()