From 33464784edd2bf98994a6bb1c7744d42688bb491 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Fri, 8 Jun 2018 07:47:39 +0200 Subject: [PATCH] Revert "Fix linking with winpthread" This reverts commit 50c728c791895d822b0f474a37dbdd609ba21337. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46848cf..6123cc9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -103,7 +103,6 @@ if (MINGW) # Remove cmd window when executing planetblupi set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -mwindows") - set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive") endif (MINGW) # Dependencies