Skip to content

Commit

Permalink
windows: static: these windows libs seem to be needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
adriweb committed Nov 14, 2023
1 parent 7cea3a4 commit 0b06915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ if(TRY_STATIC_LIBS)
message("Using static MSVC runtime...")
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
link_libraries(ws2_32 wsock32 winmm)
else()
set(CMAKE_FIND_LIBRARY_SUFFIXES .a ${CMAKE_FIND_LIBRARY_SUFFIXES})
endif()
Expand Down

0 comments on commit 0b06915

Please sign in to comment.