summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-12-02 08:29:51 -0500
committerGilles Caulier <[email protected]>2014-12-02 08:29:51 -0500
commit2a1247440cc510c7d4f5ac16f4185fb413961222 (patch)
tree5aa9d0f4e30429cb8e8a24f00028841fca449f48
parent9b34fc69286dd1c3e63ac716858e7de713c95165 (diff)
we only use KF5::I18n as dependancy
-rw-r--r--CMakeLists.txt4
-rw-r--r--cmake/templates/KF5KFaceConfig.cmake.in4
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--tests/CMakeLists.txt1
4 files changed, 7 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6f5b09e..62edf5d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -69,14 +69,14 @@ include(FeatureSummary)
find_package(Qt5 ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE COMPONENTS
Core
+ Widgets
Sql
Xml
Gui
)
find_package(KF5 ${KF5_VERSION} REQUIRED COMPONENTS
- Config
- TextWidgets
+ I18n
)
# OpenCV detection
diff --git a/cmake/templates/KF5KFaceConfig.cmake.in b/cmake/templates/KF5KFaceConfig.cmake.in
index 6020137..11b4729 100644
--- a/cmake/templates/KF5KFaceConfig.cmake.in
+++ b/cmake/templates/KF5KFaceConfig.cmake.in
@@ -13,7 +13,7 @@
-find_dependency(Qt5Core Qt5Sql Qt5Gui Qt5Xml @[email protected])
-find_dependency(Config TextWidgets)
+find_dependency(Qt5Core Qt5Sql Qt5Gui Qt5Xml Qt5Widgets @[email protected])
+find_dependency(I18n)
include("${CMAKE_CURRENT_LIST_DIR}/KF5KFaceTargets.cmake")
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6c8367c..9c6750a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -96,11 +96,11 @@ target_link_libraries(KF5KFace
${OpenCV_LIBRARIES}
PUBLIC
Qt5::Gui
+ Qt5::Widgets
Qt5::Xml
Qt5::Sql
- KF5::ConfigCore
- KF5::TextWidgets
+ KF5::I18n
)
install(TARGETS KF5KFace
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 391355b..a163159 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -25,6 +25,7 @@ target_link_libraries(recognize KF5KFace Qt5::Core Qt5::Gui ${OpenCV_LIBRARIES})
# -----------------------------------------------------------------------------
set(align_SRCS align.cpp
+ # not exported by libkface
../src/alignment-congealing/funnelreal.cpp
../src/libkface_debug.cpp
)