mirror of
				https://github.com/taglib/taglib.git
				synced 2025-11-04 00:36:54 -05:00 
			
		
		
		
	Use ctest instead of custom target.
This commit is contained in:
		@ -1,5 +1,3 @@
 | 
			
		||||
if(BUILD_TESTS)
 | 
			
		||||
 | 
			
		||||
INCLUDE_DIRECTORIES(
 | 
			
		||||
  ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
 | 
			
		||||
  ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
 | 
			
		||||
@ -64,8 +62,4 @@ SET(test_runner_SRCS
 | 
			
		||||
ADD_EXECUTABLE(test_runner ${test_runner_SRCS})
 | 
			
		||||
TARGET_LINK_LIBRARIES(test_runner tag ${CPPUNIT_LIBRARIES})
 | 
			
		||||
 | 
			
		||||
ADD_CUSTOM_TARGET(check
 | 
			
		||||
    ./test_runner
 | 
			
		||||
    DEPENDS test_runner
 | 
			
		||||
)
 | 
			
		||||
endif(BUILD_TESTS)
 | 
			
		||||
ADD_TEST(test_runner test_runner)
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user