diff options
author | Iru Cai <mytbk920423@gmail.com> | 2016-04-03 00:22:30 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2016-04-03 00:57:00 +0800 |
commit | b91ee982b8ce1e08aad128a65312501ef5dd8ecd (patch) | |
tree | 0614c2259f773492e6bbe2fc52d1523171e39d55 /src/ui | |
parent | a65de06d0207ade36f9cc754e98c5d91c365b7f5 (diff) | |
download | fqterm-b91ee982b8ce1e08aad128a65312501ef5dd8ecd.tar.xz |
CMakeLists.txt cleanup
- remove qt4_automoc
- set VERBOSE_MAKEFILE
- set FQTERM_LIBS
- remove trailing spaces and empty lines
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/CMakeLists.txt | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 8fc7b0b..e47ee73 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -1,3 +1,5 @@ +set(CMAKE_AUTOMOC ON) + if(IMAGE_USE_PICFLOW) set(IMGVIEW_SRCS imageviewer.h @@ -99,10 +101,9 @@ set(fqterm_ui_UIS if(USE_QT5) qt5_wrap_ui(fqterm_ui_UIS_H - ${fqterm_ui_UIS} + ${fqterm_ui_UIS} ) -set(CMAKE_AUTOMOC ON) find_package(Qt5Core REQUIRED) find_package(Qt5Widgets REQUIRED) find_package(Qt5Network REQUIRED) @@ -114,12 +115,7 @@ qt5_create_translation(fqterm_ui_qm_file ) else(USE_QT5) qt4_wrap_ui(fqterm_ui_UIS_H - ${fqterm_ui_UIS} -) - -qt4_automoc( - ${fqterm_ui_SRCS} - ${fqterm_ui_gen_HS} + ${fqterm_ui_UIS} ) qt4_create_translation(fqterm_ui_qm_file |