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

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d99327f5c..6b35451e5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -886,7 +886,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()
 
@@ -908,7 +908,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)
@@ -1033,9 +1033,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