From 3c36d444729ee9285bb4ab0252968057bf904a8d Mon Sep 17 00:00:00 2001 From: Anderson Lizardo Date: Fri, 13 Aug 2010 22:32:07 -0400 Subject: 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 Reviewed-by: Hugo Parente Lima --- tests/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/CMakeLists.txt') 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 -- cgit v1.2.3