--- a/CMakeLists.txt 2024-10-13 00:26:50.429927711 -0000 +++ b/CMakeLists.txt 2024-10-13 00:26:12.869931690 -0000 @@ -105,6 +105,10 @@ endif() file(GLOB SRCS "*.cpp" "../sdk/codelite_indexer/network/*.cpp" "SocketAPI/*.cpp" "LSP/*.cpp") +if(NOT MINGW) + list(REMOVE_ITEM SRCS "MSYS2.cpp" "MSYS2.hpp") +endif() + # Define GTK libraries if(GTK2_FOUND) set(GTK_LIBS "${GTK2_LIBRARIES}")