mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-02 04:02:23 +03:00
InstallRequiredSystemLibraries: Add concrt*.dll for VC >= 14.0
Fixes #16513
This commit is contained in:
1 parent
0a9e4e08b5
commit
3578e86272
1 file changed
+8
-2
@@ -182,7 +182,10 @@ if(MSVC)
|
||||
"${MSVC${v}_CRT_DIR}/msvcp${v}0.dll"
|
||||
)
|
||||
if(NOT v VERSION_LESS 14)
|
||||
list(APPEND __install__libs "${MSVC${v}_CRT_DIR}/vcruntime${v}0.dll")
|
||||
list(APPEND __install__libs
|
||||
"${MSVC${v}_CRT_DIR}/vcruntime${v}0.dll"
|
||||
"${MSVC${v}_CRT_DIR}/concrt${v}0.dll"
|
||||
)
|
||||
else()
|
||||
list(APPEND __install__libs "${MSVC${v}_CRT_DIR}/msvcr${v}0.dll")
|
||||
endif()
|
||||
@@ -197,7 +200,10 @@ if(MSVC)
|
||||
"${MSVC${v}_CRT_DIR}/msvcp${v}0d.dll"
|
||||
)
|
||||
if(NOT v VERSION_LESS 14)
|
||||
list(APPEND __install__libs "${MSVC${v}_CRT_DIR}/vcruntime${v}0d.dll")
|
||||
list(APPEND __install__libs
|
||||
"${MSVC${v}_CRT_DIR}/vcruntime${v}0d.dll"
|
||||
"${MSVC${v}_CRT_DIR}/concrt${v}0d.dll"
|
||||
)
|
||||
else()
|
||||
list(APPEND __install__libs "${MSVC${v}_CRT_DIR}/msvcr${v}0d.dll")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user