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
I'm not sure why PkgConfig is needed in the cmake build file. Need to determine if it really is needed and either document it, or remove it if it isn't needed.
The text was updated successfully, but these errors were encountered:
It looks like I added that, it was necessary when ZeroMQ did not support fully the CMake package configuration files. Now they do, I think it can be removed and replaced, i.e. these lines can be changed I believe:
## load in pkg-config supportfind_package(PkgConfig)
## use pkg-config to get hints for 0mq locations
pkg_check_modules(PC_ZeroMQ QUIET zmq)
## use the hint from above to find where 'zmq.h' is locatedfind_path(ZeroMQ_INCLUDE_DIR
NAMES zmq.h
PATHS${PC_ZeroMQ_INCLUDE_DIRS}
)
## use the hint from about to find the location of libzmqfind_library(ZeroMQ_LIBRARY
NAMES zmq
PATHS${PC_ZeroMQ_LIBRARY_DIRS}
)
include_directories( ${ZeroMQ_INCLUDE_DIR} )
link_directories( ${PC_ZeroMQ_LIBRARY_DIRS} )
I'm not sure why PkgConfig is needed in the cmake build file. Need to determine if it really is needed and either document it, or remove it if it isn't needed.
The text was updated successfully, but these errors were encountered: