ENH: some fixes for missing vars and missing libs
This commit is contained in:
parent
fa4c143ebc
commit
0281892890
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue