summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-02-20 14:54:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-02-20 14:54:20 (GMT)
commitba66b8d50b68bb40ad1c06ef27dea04f8a316db7 (patch)
tree64b6e97a81c6fc7ef9435ad00c8d94de77f644a7
parent1d8e7e9411f62a60340b1edba6c55a8e7548a93b (diff)
downloadCMake-ba66b8d50b68bb40ad1c06ef27dea04f8a316db7.zip
CMake-ba66b8d50b68bb40ad1c06ef27dea04f8a316db7.tar.gz
CMake-ba66b8d50b68bb40ad1c06ef27dea04f8a316db7.tar.bz2
BUG: fix for bug 4420 add language dll's to mfc install
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake18
1 files changed, 18 insertions, 0 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index d824ade..aa21fb6 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -56,6 +56,24 @@ IF(MSVC)
"${MSVC80_MFC_DIR}/mfcm80u.dll"
)
ENDIF(MSVC80)
+ IF(MSVC80)
+ # include the language dll's for vs8 as well as the actuall dll's
+ SET(MSVC80_MFCLOC_DIR "${MSVC80_REDIST_DIR}/x86/Microsoft.VC80.MFCLOC")
+ # Install the manifest that allows DLLs to be loaded from the
+ # directory containing the executable.
+ SET(__install__libs ${__install__libs}
+ "${MSVC80_MFCLOC_DIR}/Microsoft.VC80.MFCLOC.manifest"
+ "${MSVC80_MFCLOC_DIR}/mfc80chs.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80cht.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80enu.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80esp.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80deu.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80fra.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80ita.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80jpn.dll"
+ "${MSVC80_MFCLOC_DIR}/mfc80kor.dll"
+ )
+ ENDIF(MSVC80)
ENDIF(CMAKE_INSTALL_MFC_LIBRARIES)
FOREACH(lib
${__install__libs}