diff --git a/lint/CMakeLists.txt b/lint/CMakeLists.txt index 7e7ee1d..fe5db73 100644 --- a/lint/CMakeLists.txt +++ b/lint/CMakeLists.txt @@ -2,3 +2,6 @@ cmake_minimum_required(VERSION 2.8) include_directories(..) add_definitions("-std=c++11") add_executable(peglint peglint.cc server.cc) +if(WIN32) + target_link_libraries(peglint wsock32 ws2_32) +endif()