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/QtSvg/CMakeLists.txt | |
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/QtSvg/CMakeLists.txt')
-rw-r--r-- | PySide/QtSvg/CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/PySide/QtSvg/CMakeLists.txt b/PySide/QtSvg/CMakeLists.txt index a56ee3382..bd675366b 100644 --- a/PySide/QtSvg/CMakeLists.txt +++ b/PySide/QtSvg/CMakeLists.txt @@ -1,21 +1,11 @@ project(QtSvg) -if (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 6) - set (QtSvg_46_SRC ) -else () - set(QtSvg_46_SRC - ) -endif (${QT_VERSION_MAJOR} EQUAL 4 AND ${QT_VERSION_MINOR} LESS 6) - set(QtSvg_SRC ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtSvg/qgraphicssvgitem_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtSvg/qsvggenerator_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtSvg/qsvgrenderer_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtSvg/qsvgwidget_wrapper.cpp ${CMAKE_CURRENT_BINARY_DIR}/PySide/QtSvg/qtsvg_module_wrapper.cpp - -${SPECIFIC_OS_FILES} -${QtSvg_46_SRC} ) set(QtSvg_typesystem_path "${CMAKE_CURRENT_BINARY_DIR}:${QtCore_SOURCE_DIR}:${QtGui_SOURCE_DIR}:${QtGui_BINARY_DIR}") |