diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-04-03 10:28:28 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2016-04-03 10:28:28 +0800 |
commit | b4267aa7c747f1ea3c21e077c69fc0bff736ed19 (patch) | |
tree | fd81d7a7fbe80f06b3f6dc77c78440b1b62faf40 | |
parent | 3a2cb75c85b8f98ebb0262ec3d5b590dcb9d79a1 (diff) | |
download | fqterm-b4267aa7c747f1ea3c21e077c69fc0bff736ed19.tar.xz |
imageviewer: add target_link_libraries for Qt5 build
-rw-r--r-- | src/ui/imageviewer/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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) |