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

13 lines
398 B
Diff

--- 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}")