Skip to content

Commit

Permalink
fmtlib now uses UCRT instead of MSVCRT. add library to avoid linker f…
Browse files Browse the repository at this point in the history
…ailure
  • Loading branch information
akohlmey committed Jan 2, 2022
1 parent bb1c12d commit c5a7f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

######################################################
Expand Down

0 comments on commit c5a7f4c

Please sign in to comment.