From dda7ba1f9e24b7cf16c6b975c3d77fb3af5c96dc Mon Sep 17 00:00:00 2001
From: Antoine Lorence <antoine.lorence@insa-rennes.fr>
Date: Thu, 20 Nov 2014 10:17:01 +0100
Subject: [PATCH] [CMake] Rename 'eiimage_core' target to 'core'

---
 app/CMakeLists.txt  | 4 ++--
 core/CMakeLists.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index cad3d58..2df3708 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -202,13 +202,13 @@ qt5_add_translation(QM_FILES ${TS_FILES})
 
 add_executable(eiimage ${eiimage_SOURCES} ${WRAPPED_UIS} ${UIS} ${TS_FILES})
 target_link_libraries(eiimage
-	eiimage_core
+	core
 	Qt5::Core
 	Qt5::Widgets
 	Qt5::Gui
 	Qt5::Script
 	Qt5::Xml
-	 ${RandomLib_LIBRARIES}
+	${RandomLib_LIBRARIES}
 	GenericInterface
 	ImageIn
 )
diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index dc01c8f..c51067a 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -18,8 +18,8 @@ set(SRCS
 	PlugOperation.cpp
 	PlugOperation.h
 )
-add_library(eiimage_core ${SRCS})
-target_link_libraries(eiimage_core
+add_library(core ${SRCS})
+target_link_libraries(core
 	GenericInterface
 	ImageIn
 	Qt5::Widgets
-- 
GitLab