summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTaylor Braun-Jones <taylor@braun-jones.org>2016-12-16 23:02:48 (GMT)
committerTaylor Braun-Jones <taylor@braun-jones.org>2016-12-16 23:02:48 (GMT)
commit3578e86272b16b303edd640f29781dd316a857a4 (patch)
treeb16e1cb39a6510032f19ec0584bddee2f08fbc8c /Modules
parent0a9e4e08b5d275fa20190509d6b1448f360461a8 (diff)
downloadCMake-3578e86272b16b303edd640f29781dd316a857a4.zip
CMake-3578e86272b16b303edd640f29781dd316a857a4.tar.gz
CMake-3578e86272b16b303edd640f29781dd316a857a4.tar.bz2
InstallRequiredSystemLibraries: Add concrt*.dll for VC >= 14.0
Fixes #16513
Diffstat (limited to 'Modules')
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake10
1 files changed, 8 insertions, 2 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index b0446c9..f4ae091 100644
--- a/Modules/InstallRequiredSystemLibraries.cmake
+++ b/Modules/InstallRequiredSystemLibraries.cmake
@@ -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()