diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-18 13:08:16 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-18 13:08:16 +0200 |
commit | 591e53445b2643af1e9a5266ffa5324cad758255 (patch) | |
tree | b10169969aab78bdf6868f9c48176a8804182ee9 /CMakeLists.txt | |
parent | Merge pull request #2378 (diff) | |
parent | Fix various oversights/bugs in ZMQ RPC server code (diff) | |
download | monero-591e53445b2643af1e9a5266ffa5324cad758255.tar.xz |
Merge pull request #2044
0299cb77 Fix various oversights/bugs in ZMQ RPC server code (Thomas Winget)
77986023 json serialization for rpc-relevant monero types (Thomas Winget)
5c1e08fe Refactor some things into more composable (smaller) functions (Thomas Winget)
9ac2ad07 DRY refactoring (Thomas Winget)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d53e049e..971c097ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -689,6 +689,16 @@ endif() include(version.cmake) +find_path(ZMQ_INCLUDE_PATH zmq.hpp) +find_library(ZMQ_LIB zmq) + +if(NOT ZMQ_INCLUDE_PATH) + message(FATAL_ERROR "Could not find required header zmq.hpp") +endif() +if(NOT ZMQ_LIB) + message(FATAL_ERROR "Could not find require libzmq") +endif() + function (treat_warnings_as_errors dirs) foreach(dir ${ARGV}) set_property(DIRECTORY ${dir} |