fmtlib now uses UCRT instead of MSVCRT. add library to avoid linker failure

This commit is contained in:
Axel Kohlmeyer
2022-01-02 15:24:04 -05:00
parent bb1c12d22b
commit c5a7f4c3ac

View File

@ -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()
######################################################