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 LIBSWSSCOMMON_INCLUDE_DIR ORNOT LIBSWSSCOMMON_LIBRARY)
64
-
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.")
65
-
#else ()
66
-
# Message ("lib = " ${LIBSWSSCOMMON_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 1 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()
67
120
endif()
68
121
69
-
70
122
if (NOT LIBYAML_CPP_INCLUDE_DIR ORNOT LIBYAML_CPP_LIBRARY)
71
123
Message (FATAL_ERROR"Libyaml-cpp was not found, cannot proceed. Visit https://github.com/jbeder/yaml-cpp for install details.")
72
124
endif()
@@ -75,10 +127,13 @@ if (NOT LIBRT_LIBRARY AND NOT MACOSX)
75
127
Message (FATAL_ERROR"librt was not found, cannot proceed.")
0 commit comments