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 /tests | |
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 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index ce457965e..4cacd140a 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -25,7 +25,7 @@ else() if(NOT DISABLE_${name} AND ${var}) add_subdirectory(${name}) endif() - endmacro(TEST_QT_MODULE) + endmacro() macro(PYSIDE_TEST) string(REGEX MATCH "/([^/]+)//?([^/]+)\\.py" foo "${CMAKE_CURRENT_SOURCE_DIR}/${ARGV0}" ) @@ -43,7 +43,7 @@ else() TIMEOUT ${CTEST_TESTING_TIMEOUT} WILL_FAIL ${EXPECT_TO_FAIL} ENVIRONMENT "PYTHONPATH=${TEST_PYTHONPATH};${LIBRARY_PATH_VAR}=${TEST_LIBRARY_PATH}") - endmacro(PYSIDE_TEST) + endmacro() # Try to find QtMultimedia # TODO: Remove this hack when cmake support QtMultimedia module |