From c5a7f4c3ac36e6593078d5e85860341336c0847d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 2 Jan 2022 15:24:04 -0500 Subject: [PATCH] fmtlib now uses UCRT instead of MSVCRT. add library to avoid linker failure --- cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 408528f6dd8..60c7269b1fd 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -629,7 +629,7 @@ endif() # and after everything else that is compiled locally ###################################################################### if(CMAKE_SYSTEM_NAME STREQUAL "Windows") - target_link_libraries(lammps PRIVATE "wsock32;psapi") + target_link_libraries(lammps PRIVATE "wsock32;psapi;ucrt") endif() ######################################################