doc: Amend comment about ZeroMQ config files

This commit is contained in:
Hennadii Stepanov committed 2024-09-06 21:59:46 +01:00
1 parent a5fa90706a
commit 6f2cb0eafd
1 file changed
+3 -1
+3 -1
View File
@@ -145,7 +145,9 @@ if(WITH_ZMQ)
find_package(ZeroMQ CONFIG REQUIRED) find_package(ZeroMQ CONFIG REQUIRED)
else() else()
# The ZeroMQ project has provided config files since v4.2.2. # The ZeroMQ project has provided config files since v4.2.2.
# TODO: Switch to find_package(ZeroMQ) at some point in the future. # However, mainstream distributions do not yet provide CMake
# config files for ZeroMQ packages. If they do in the future,
# find_package(ZeroMQ) may be used instead.
find_package(PkgConfig REQUIRED) find_package(PkgConfig REQUIRED)
pkg_check_modules(libzmq REQUIRED IMPORTED_TARGET libzmq>=4) pkg_check_modules(libzmq REQUIRED IMPORTED_TARGET libzmq>=4)
endif() endif()