if (BUILD_TESTING) add_subdirectory(tests) endif (BUILD_TESTING)