summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-10-06 19:10:03 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-10-06 19:10:03 (GMT)
commit0281892890a87ede9a102164d50ee7127e3273b6 (patch)
treea5be17f0836b14db24d3a45110d66ea40a6348d2
parentfa4c143ebc4b738e321f072c7a40938ae865334f (diff)
downloadCMake-0281892890a87ede9a102164d50ee7127e3273b6.zip
CMake-0281892890a87ede9a102164d50ee7127e3273b6.tar.gz
CMake-0281892890a87ede9a102164d50ee7127e3273b6.tar.bz2
ENH: some fixes for missing vars and missing libs
-rw-r--r--Utilities/Release/Release.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/Utilities/Release/Release.cmake b/Utilities/Release/Release.cmake
index 2a2f136..9f4da82 100644
--- a/Utilities/Release/Release.cmake
+++ b/Utilities/Release/Release.cmake
@@ -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)