Use modern cmake testing functionality including catch integration

This commit is contained in:
Jonny Paton 2018-08-19 19:04:11 +01:00 committed by Lukas Dürrenberger
parent a88e854dc3
commit d3a072fb63
8 changed files with 361 additions and 23 deletions

View file

@ -285,6 +285,7 @@ if(SFML_BUILD_DOC)
add_subdirectory(doc)
endif()
if(SFML_BUILD_TEST_SUITE)
enable_testing()
add_subdirectory(test)
endif()