mirror of
				https://github.com/taglib/taglib.git
				synced 2025-11-03 16:26:18 -05:00 
			
		
		
		
	Revert r735160 and r735161, and set BUILD_TESTS to OFF if CppUnit is not found.
CCMAIL:michael.pyne@kdemail.net git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@740071 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
		@ -21,15 +21,12 @@ SET(test_runner_SRCS
 | 
			
		||||
  test_id3v2.cpp
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
# 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_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)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user