Added include directory to CMake instructions

This commit is contained in:
Michael Hart 2018-04-08 11:58:55 +01:00
parent bf39928c93
commit 9c7b9e88af

View File

@ -28,7 +28,7 @@ cpp zmq (which will also include libzmq for you).
#find cppzmq wrapper, installed by make of cppzmq
find_package(cppzmq)
if(cppzmq_FOUND)
include_directories(${cppzmq_INCLUDE_DIR})
include_directories(${ZeroMQ_INCLUDE_DIR} ${cppzmq_INCLUDE_DIR})
target_link_libraries(*Your Project Name* ${cppzmq_LIBRARY})
endif()
```