diff options
author | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2010-08-13 22:32:07 -0400 |
---|---|---|
committer | Anderson Lizardo <anderson.lizardo@openbossa.org> | 2010-08-26 11:04:58 -0400 |
commit | 3c36d444729ee9285bb4ab0252968057bf904a8d (patch) | |
tree | bc5790e5afa2bf2cf1589b7f2fd182f471e4bbee /PySide/QtNetwork | |
parent | 2593f9fccc71a200c5a802b2e05717910885e864 (diff) |
Various cleanups to CMakeLists.txt files
* Simplify endmacro(), endif() and else() statements
* Remove unused and redundant code
* Use AUTO_OS for holding the typesystem suffix (instead of MODULE_NAME)
Reviewed-by: Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'PySide/QtNetwork')
-rw-r--r-- | PySide/QtNetwork/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/PySide/QtNetwork/CMakeLists.txt b/PySide/QtNetwork/CMakeLists.txt index 15504990d..0d89e2869 100644 --- a/PySide/QtNetwork/CMakeLists.txt +++ b/PySide/QtNetwork/CMakeLists.txt @@ -31,8 +31,7 @@ macro(CHECK_QT_NETWORK_MACRO macro_display_name qt_macro module_sources global_s message(STATUS "Testing support to ${macro_display_name} -- disabled") endif() endif() -endmacro(CHECK_QT_NETWORK_MACRO) - +endmacro() if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} GREATER 6) set (QtNetwork_47_SRC @@ -71,7 +70,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtNetwork/qtcpsocket_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtNetwork/qtnetwork_module_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtNetwork/qudpsocket_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtNetwork/qurlinfo_wrapper.cpp -${SPECIFIC_OS_FILES} + ${QtNetwork_47_SRC} ) |