Skip to content

Commit

Permalink
adding crypt32 linker flag to client mingw flags
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-dixon committed May 8, 2024
1 parent 1c74e37 commit 988846b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if( MINGW OR WIN32 )
include_directories( ${XDR_INCLUDE_DIR} )
set( CLIENT_LINK_LIBS ${CLIENT_LINK_LIBS} ws2_32 ${XDR_LIBRARIES} )
if ( MINGW )
set( CLIENT_LINK_LIBS ${CLIENT_LINK_LIBS} dlfcn-win32::dl stdc++ pthread )
set( CLIENT_LINK_LIBS ${CLIENT_LINK_LIBS} dlfcn-win32::dl crypt32 stdc++ pthread )
else()
set( CLIENT_LINK_LIBS ${CLIENT_LINK_LIBS} dlfcn-win32::dl )
endif()
Expand Down

0 comments on commit 988846b

Please sign in to comment.