You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (NOT LIBRDKAFKA_INCLUDE_DIR ORNOT LIBRDKAFKA_LIBRARY ORNOT LIBRDKAFKA_CPP_LIBRARY)
71
-
Message (FATAL_ERROR"Librdkafka was not found, cannot proceed. Visit https://github.com/edenhill/librdkafka for details on how to install it.")
72
-
#else ()
73
-
# Message ("lib = " ${LIBRDKAFKA_LIBRARY})
103
+
if (NOT ENABLE_REDIS)
104
+
if (NOT LIBRDKAFKA_INCLUDE_DIR ORNOT LIBRDKAFKA_LIBRARY ORNOT LIBRDKAFKA_CPP_LIBRARY)
105
+
Message (FATAL_ERROR"Librdkafka was not found, cannot proceed. Visit https://github.com/edenhill/librdkafka for details on how to install it.")
106
+
else ()
107
+
Message ("lib = "${LIBRDKAFKA_LIBRARY})
108
+
endif()
109
+
else ()
110
+
if (NOT LIBHIREDIS_LIBRARY)
111
+
Message (FATAL_ERROR"Libhiredis was not found, cannot proceed. Visit https://github.com/redis/hiredis for details on how to install it.")
112
+
else ()
113
+
Message ("lib = "${LIBHIREDIS_LIBRARY})
114
+
endif()
115
+
if (NOT LIBSWSSCOMMON_INCLUDE_DIR ORNOT LIBSWSSCOMMON_LIBRARY)
116
+
Message (FATAL_ERROR"swsscommon was not found, cannot proceed. Visit https://github.com/sonic-net/sonic-swss-common for details on how to install it.")
117
+
else ()
118
+
Message ("lib = "${LIBSWSSCOMMON_LIBRARY})
119
+
endif()
74
120
endif()
75
121
76
122
if (NOT LIBYAML_CPP_INCLUDE_DIR ORNOT LIBYAML_CPP_LIBRARY)
@@ -82,19 +128,18 @@ if (NOT LIBRT_LIBRARY AND NOT MACOSX)
0 commit comments