[Chinese-commits] [fqterm] 14/34: imageviewer: add target_link_libraries for Qt5 build

Boyuan Yang hosiet-guest at moszumanska.debian.org
Tue Nov 1 06:06:06 UTC 2016


This is an automated email from the git hooks/post-receive script.

hosiet-guest pushed a commit to branch master
in repository fqterm.

commit b4267aa7c747f1ea3c21e077c69fc0bff736ed19
Author: Iru Cai <mytbk920423 at gmail.com>
Date:   Sun Apr 3 10:28:28 2016 +0800

    imageviewer: add target_link_libraries for Qt5 build
---
 src/ui/imageviewer/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/ui/imageviewer/CMakeLists.txt b/src/ui/imageviewer/CMakeLists.txt
index 594493c..d8cf46a 100644
--- a/src/ui/imageviewer/CMakeLists.txt
+++ b/src/ui/imageviewer/CMakeLists.txt
@@ -30,3 +30,7 @@ include_directories(
 
 add_library(fqterm_imageviewer
   ${fqterm_imageviewer_SRCS})
+
+if(USE_QT5)
+  target_link_libraries(fqterm_imageviewer Qt5::Core Qt5::Widgets)
+endif(USE_QT5)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/fqterm.git



More information about the Chinese-commits mailing list