File 0005-use-system-libyaml.patch of Package CodeLite

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ebb06b718..32afa6567 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -889,7 +889,7 @@ add_subdirectory(sdk/wxsqlite3)
 add_subdirectory(sdk/databaselayer)
 
 if(NOT APPLE)
-    add_subdirectory(submodules/yaml-cpp)
+    #add_subdirectory(submodules/yaml-cpp)
     set(LIBYAML_CPP "yaml-cpp")
 endif()
 
@@ -911,7 +911,7 @@ set(WITHOUT_INSTALL ON)
 add_subdirectory(submodules/cc-wrapper)
 
 # include the yaml-cpp directory
-include_directories("${CL_SRC_ROOT}/submodules/yaml-cpp/include")
+#include_directories("${CL_SRC_ROOT}/submodules/yaml-cpp/include")
 if(UNIX)
     # On Windows, this is default. Set it OFF for Linux / macOS as well
     set(BUILD_SHARED_LIBS OFF)
@@ -1039,9 +1039,9 @@ else()
     if(MINGW)
         add_dependencies(codelite wx-config)
     endif()
-    if(NOT APPLE)
-        add_dependencies(codelite yaml-cpp)
-    endif()
+    #if(NOT APPLE)
+    #    add_dependencies(codelite yaml-cpp)
+    #endif()
 
     # Include our custom plugin.cmake module
     include(plugin)
openSUSE Build Service is sponsored by