summaryrefslogtreecommitdiff
path: root/CMakeLists.txt.macos
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-04-03 00:22:30 +0800
committerIru Cai <mytbk920423@gmail.com>2016-04-03 00:57:00 +0800
commitb91ee982b8ce1e08aad128a65312501ef5dd8ecd (patch)
tree0614c2259f773492e6bbe2fc52d1523171e39d55 /CMakeLists.txt.macos
parenta65de06d0207ade36f9cc754e98c5d91c365b7f5 (diff)
downloadfqterm-b91ee982b8ce1e08aad128a65312501ef5dd8ecd.tar.xz
CMakeLists.txt cleanup
- remove qt4_automoc - set VERBOSE_MAKEFILE - set FQTERM_LIBS - remove trailing spaces and empty lines
Diffstat (limited to 'CMakeLists.txt.macos')
-rw-r--r--CMakeLists.txt.macos18
1 files changed, 3 insertions, 15 deletions
diff --git a/CMakeLists.txt.macos b/CMakeLists.txt.macos
index 9016271..bc972df 100644
--- a/CMakeLists.txt.macos
+++ b/CMakeLists.txt.macos
@@ -1,17 +1,11 @@
find_package(OpenSSL REQUIRED)
-set(CMAKE_VERBOSE_MAKEFILE ON)
-
ADD_DEFINITIONS(-Wall)
-ADD_DEFINITIONS(-DFQTERM_VERSION_STRING="\\"${FQTERM_VERSION}\\"")
-
if(FQTERM_USE_STATIC_QT)
ADD_DEFINITIONS(-DFQTERM_USE_STATIC_QT)
endif(FQTERM_USE_STATIC_QT)
-add_subdirectory(src)
-
find_library(APPKIT_LIBRARY AppKit)
FIND_LIBRARY(CARBON_LIBRARY Carbon)
@@ -57,6 +51,7 @@ if(FQTERM_USE_STATIC_QT)
endif(FQTERM_USE_STATIC_QT)
target_link_libraries(fqterm
+ ${FQTERM_LIBS}
${QT_LIBRARIES}
${QT_QTCORE_LIBRARY}
${QT_QTGUI_LIBRARY}
@@ -67,16 +62,9 @@ target_link_libraries(fqterm
${FQ_QT_STATIC_PLUGINS}
${PYTHON_LIB}
${ZLIB_LIBRARIES}
- ${QT_QTXML_LIBRARIES}
- ssl
+ ${QT_QTXML_LIBRARIES}
+ ssl
crypto
- fqterm_common
- fqterm_protocol
- fqterm_terminal
- fqterm_utilities
- fqterm_ui
- fqterm_main
- fqterm_unite
)
add_dependencies(fqterm