ENH: some fixes for missing vars and missing libs

This commit is contained in:
Ken Martin 2005-10-06 15:10:03 -04:00
parent fa4c143ebc
commit 0281892890
1 changed files with 3 additions and 4 deletions

View File

@ -7,6 +7,7 @@
IF(WIN32)
STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}")
FOREACH(lib
"${SYSTEMROOT}/system32/mfc71.dll"
"${SYSTEMROOT}/system32/msvcp71.dll"
"${SYSTEMROOT}/system32/msvcr71.dll"
)
@ -21,11 +22,9 @@ ENDIF(WIN32)
# specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.
IF(CMake_INSTALL_SYSTEM_RUNTIME_LIBS)
IF(WIN32)
INSTALL_PROGRAMS(${CMake_INSTALL_BIN_DIR}
${CMake_INSTALL_SYSTEM_RUNTIME_LIBS})
INSTALL_PROGRAMS(/bin ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS})
ELSE(WIN32)
INSTALL_PROGRAMS(${CMake_INSTALL_LIB_DIR}
${CMake_INSTALL_SYSTEM_RUNTIME_LIBS})
INSTALL_PROGRAMS(/lib ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS})
ENDIF(WIN32)
ENDIF(CMake_INSTALL_SYSTEM_RUNTIME_LIBS)