From 438927762c75268ecf42491fac4c2a36b1f13881 Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Sun, 11 Nov 2007 03:30:44 +0000 Subject: [PATCH] This also breaks compilation of kdesupport. CppUnit won't be found since I commented out the configure check is fixed. Once the configure check is fixed this can be commented back in. CCMAIL:lalinsky@gmail.com git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@735161 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- tests/CMakeLists.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 34aa7fab..3da08e66 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -21,12 +21,15 @@ SET(test_runner_SRCS test_id3v2.cpp ) -ADD_EXECUTABLE(test_runner ${test_runner_SRCS}) -TARGET_LINK_LIBRARIES(test_runner tag ${CPPUNIT_LIBRARIES}) +# Fails without CppUnit. These can be uncommented (with an appropriate guard +# checking for CppUnit availability) after the CppUnit configure check has +# also been fixed). +#ADD_EXECUTABLE(test_runner ${test_runner_SRCS}) +#TARGET_LINK_LIBRARIES(test_runner tag ${CPPUNIT_LIBRARIES}) -ADD_CUSTOM_TARGET(check - ./test_runner - DEPENDS test_runner -) +#ADD_CUSTOM_TARGET(check +# ./test_runner +# DEPENDS test_runner +#) endif(BUILD_TESTS)