Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
code
pfabric
Commits
0548b92f
Commit
0548b92f
authored
Sep 10, 2019
by
Philipp Götze
Browse files
🔨
Set ZeroMQ (>=4.3.1) as required
parent
b0f751d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
0548b92f
...
...
@@ -252,7 +252,8 @@ endif()
############################################################################################
#
find_package
(
ZeroMQ
)
SET
(
ZMQ_MIN_VERSION
"4.3.1"
)
find_package
(
ZeroMQ
${
ZMQ_MIN_VERSION
}
REQUIRED
)
if
(
ZEROMQ_FOUND
)
add_definitions
(
"-DHAS_ZMQ"
)
include_directories
(
${
ZEROMQ_INCLUDE_DIR
}
)
...
...
@@ -270,7 +271,7 @@ if (ZEROMQ_FOUND)
${
ZEROMQ_SOURCES
}
)
else
()
set
(
ZEROMQ_SOURCES
"
"
)
message
(
FATAL_ERROR
"Fatal error: ZeroMQ (version >=
${
ZMQ_MIN_VERSION
}
) required.
\n
"
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment