Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
06b6308a
Commit
06b6308a
authored
Feb 16, 2006
by
Brad King
Browse files
BUG: Do not install MSVC dlls for a non-MSVC build.
parent
8facf1f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Modules/CPack.cmake
View file @
06b6308a
...
...
@@ -50,7 +50,7 @@ SET(CPACK_BINARY_DIR "${CMAKE_BINARY_DIR}")
# Search for system runtime libraries based on the platform. This is
# not complete because it is used only for the release process by the
# developers.
IF
(
WIN32 AND NOT CYGWIN
)
IF
(
MSVC
)
STRING
(
REGEX REPLACE
"
\\\\
"
"/"
SYSTEMROOT
"$ENV{SYSTEMROOT}"
)
FOREACH
(
lib
"
${
SYSTEMROOT
}
/system32/mfc71.dll"
...
...
@@ -62,7 +62,7 @@ IF(WIN32 AND NOT CYGWIN)
${
CMake_INSTALL_SYSTEM_RUNTIME_LIBS
}
${
lib
}
)
ENDIF
(
EXISTS
${
lib
}
)
ENDFOREACH
(
lib
)
ENDIF
(
WIN32 AND NOT CYGWIN
)
ENDIF
(
MSVC
)
# Include system runtime libraries in the installation if any are
# specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.
...
...
Utilities/Release/Release.cmake
View file @
06b6308a
...
...
@@ -4,7 +4,7 @@
# Search for system runtime libraries based on the platform. This is
# not complete because it is used only for the release process by the
# developers.
IF
(
WIN32 AND NOT CYGWIN
)
IF
(
MSVC
)
STRING
(
REGEX REPLACE
"
\\\\
"
"/"
SYSTEMROOT
"$ENV{SYSTEMROOT}"
)
FOREACH
(
lib
"
${
SYSTEMROOT
}
/system32/mfc71.dll"
...
...
@@ -16,7 +16,7 @@ IF(WIN32 AND NOT CYGWIN)
${
CMake_INSTALL_SYSTEM_RUNTIME_LIBS
}
${
lib
}
)
ENDIF
(
EXISTS
${
lib
}
)
ENDFOREACH
(
lib
)
ENDIF
(
WIN32 AND NOT CYGWIN
)
ENDIF
(
MSVC
)
# Include system runtime libraries in the installation if any are
# specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment