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/common/CMakeLists.txt | |
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/common/CMakeLists.txt')
-rw-r--r-- | src/common/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 30524fe..cc4a354 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -1,3 +1,5 @@ +set(CMAKE_AUTOMOC ON) + set(fqterm_common_SRCS common.h common.cpp @@ -24,12 +26,10 @@ set(fqterm_common_SRCS if(USE_QT5) set(CMAKE_INCLUDE_CURRENT_DIR ON) - set(CMAKE_AUTOMOC ON) find_package(Qt5Core REQUIRED) find_package(Qt5Widgets REQUIRED) find_package(Qt5Multimedia REQUIRED) else(USE_QT5) - qt4_automoc(${fqterm_common_SRCS}) include_directories( ${QT_INCLUDE_DIR} ${QT_QTCORE_INCLUDE_DIR} @@ -45,4 +45,3 @@ add_library(fqterm_common if(USE_QT5) target_link_libraries(fqterm_common Qt5::Core Qt5::Widgets Qt5::Multimedia) endif(USE_QT5) -
\ No newline at end of file |