diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 74c036fbd89..72e48ffff19 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -304,12 +304,13 @@ if (USE_FASTOPS) add_subdirectory (fastops-cmake) endif() +if (USE_AMQPCPP OR USE_CASSANDRA) + add_subdirectory (libuv) +endif() if (USE_AMQPCPP) add_subdirectory (amqpcpp-cmake) endif() - if (USE_CASSANDRA) - add_subdirectory (libuv) add_subdirectory (cassandra) endif()