Skip to content

Commit

Permalink
CMakeLists.txt: correctly link under Win32
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krjuchkov committed Mar 24, 2012
1 parent bc3812d commit 567c6ce
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Expand Up @@ -288,6 +288,9 @@ if(UNIX)
target_link_libraries(qmpdclient ${X11_LIBRARIES})
endif()
endif()
if(WIN32)
target_link_libraries(qmpdclient ws2_32)
endif()

install(TARGETS qmpdclient DESTINATION bin)
if(UNIX)
Expand Down

0 comments on commit 567c6ce

Please sign in to comment.