Browse Source

Remove redundant dependency on ws2_32 (#204)

hl_urbicide
Roman Chistokhodov 3 years ago committed by GitHub
parent
commit
b3804d5ad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cl_dll/CMakeLists.txt

1
cl_dll/CMakeLists.txt

@ -187,7 +187,6 @@ if (USE_VGUI) @@ -187,7 +187,6 @@ if (USE_VGUI)
set_property(TARGET vgui PROPERTY IMPORTED_LOCATION "${CMAKE_SOURCE_DIR}/vgui-dev/lib/win32_vc6/vgui.dll")
set_property(TARGET vgui PROPERTY IMPORTED_IMPLIB "${CMAKE_SOURCE_DIR}/vgui-dev/lib/win32_vc6/vgui.lib")
target_link_libraries(${CLDLL_LIBRARY} vgui)
target_link_libraries(${CLDLL_LIBRARY} ws2_32)
elseif(APPLE)
target_link_libraries(${CLDLL_LIBRARY} "-Wl,--no-undefined -L${CMAKE_SOURCE_DIR}/vgui-dev/lib vgui.dylib")
else()

Loading…
Cancel
Save