From 91bf45b7d419694f23024bfab0ff7df0145cc6bf Mon Sep 17 00:00:00 2001 From: Yuji Hirose Date: Thu, 30 Aug 2018 13:34:09 -0400 Subject: [PATCH] Fix #45 --- lint/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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()