gentoo_catmeow_repo/dev-util/codelite/files/fix-linux-build-1.patch
2024-10-12 17:32:31 -07:00

13 lines
416 B
Diff

--- a/CodeLite/CMakeLists.txt 2024-10-13 00:26:50.429927711 -0000
+++ b/CodeLite/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}")