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 #########