From 3be4b1dc993e5d05181cc88b87216703d933d6d0 Mon Sep 17 00:00:00 2001
From: Antoine Lorence <antoine.lorence@insa-rennes.fr>
Date: Thu, 20 Nov 2014 10:41:31 +0100
Subject: [PATCH] [Plugins] Fix compilation on Linux & Windows

---
 lib/detiq-t            | 2 +-
 plugins/CMakeLists.txt | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/lib/detiq-t b/lib/detiq-t
index 5912e4b..cafe146 160000
--- a/lib/detiq-t
+++ b/lib/detiq-t
@@ -1 +1 @@
-Subproject commit 5912e4b477acdc1f46e5c106d041f35af35e25d0
+Subproject commit cafe146bb87fcb6fcdcae25d8e32949197e92821
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
index f28620e..aaccbbf 100644
--- a/plugins/CMakeLists.txt
+++ b/plugins/CMakeLists.txt
@@ -1,16 +1,20 @@
 
 include_directories(../core)
 
+find_package(Qt5Core REQUIRED)
+find_package(Qt5Widgets REQUIRED)
+
 set(SRCS
 	plugin.cpp
 	Segmentation/segmentation.cpp
 )
 
 # add_library(segmentation SHARED Segmentation/segmentation.cpp)
+# target_link_libraries(segmentation core)
 
 add_library(segmentation SHARED SegmentationTest/segmentation.cpp)
+target_link_libraries(segmentation core)
 
 add_library(entropy SHARED Entropy/Entropy.cpp)
-
-
+target_link_libraries(entropy core)
 
-- 
GitLab