CMake: Manage integration test dependencies.