 
 Signed-off-by: Martin Jansa <martin.jansa@lge.com>
 ---
- CMakeLists.txt | 22 +++++-----------------
- 1 file changed, 5 insertions(+), 17 deletions(-)
+ CMakeLists.txt | 20 +++++---------------
+ 1 file changed, 5 insertions(+), 15 deletions(-)
 
 diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 031f31ee1..567dd4301 100644
+index 98dea4135..ba8695106 100644
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -5,24 +5,12 @@ include(ExternalProject)
- ## Find catkin macros and libraries
- ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
- ## is used, also find other catkin packages
--# execute_process(COMMAND
--#   git config --global http.sslVerify false)
- ## System dependencies are found with CMake's conventions
+@@ -11,18 +11,8 @@ include(ExternalProject)
  # find_package(Boost REQUIRED COMPONENTS system)
  ExternalProject_Add(
    slic

-  )
-
-find_package( OpenCV REQUIRED )
-install(CODE "execute_process(COMMAND cmake -E make_directory ${CMAKE_INSTALL_PREFIX}/incldue/)")
-install(CODE "execute_process(COMMAND cmake -E copy slic.h ${CMAKE_INSTALL_PREFIX}/incldue/ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/slic-prefix/src/slic/)")
-
-install(CODE "execute_process(COMMAND cmake -E make_directory ${CMAKE_INSTALL_PREFIX}/lib/)")
-install(CODE "execute_process(COMMAND gcc -I${OpenCV_INCLUDE_DIRS} -fPIC --shared -o ${CMAKE_INSTALL_PREFIX}/lib/libslic.so ${CMAKE_CURRENT_BINARY_DIR}/slic-prefix/src/slic/slic.cpp)")

From d2d2a214a5dc3ba22aeb40b8cdebf9adf0986db5 Mon Sep 17 00:00:00 2001
From: Martin Jansa <martin.jansa@lge.com>
Date: Sun, 26 Apr 2020 12:29:13 -0700
Subject: [PATCH] CMakeLists.txt: fetch slic with bitbake fetcher
