From 22929d69225b5893a9d34a7d9e7d297ddae6f9a6 Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Thu, 7 Jun 2018 21:58:56 +0200 Subject: [PATCH] Do not deploy winpthread anymore --- CMakeLists.txt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46848cf..8aa5c62 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -283,14 +283,6 @@ if (NOT USE_APPIMAGE) ) endif () -# Copy libwinpthread-1.dll which seems not be linkable statically -if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND MINGW) - execute_process (COMMAND cygpath.exe --windows $ENV{MINGW_PREFIX} OUTPUT_VARIABLE MINGW_PATH) - string (REGEX REPLACE "[ \t\n\r]+$" "" MINGW_PATH "${MINGW_PATH}") - string (REGEX REPLACE "[\\]" "\\\\\\\\" MINGW_PATH "${MINGW_PATH}") - install (FILES "${MINGW_PATH}\\\\bin\\\\libwinpthread-1.dll" DESTINATION bin) -endif () - ######### ## Deploy #########