From 1f952f25440821515a637b4037984ed4452f37b8 Mon Sep 17 00:00:00 2001 From: NaOH Date: Thu, 17 Oct 2019 10:29:24 -0700 Subject: [PATCH] Fixed build on windows ( #1 ) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 456af97..ac7ae14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 2.0) project (ipsnect) set(CMAKE_BUILD_TYPE Debug) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -static-libgcc -static-libstdc++") file(GLOB _SRC "*.cpp"