mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 10:52:57 +01:00
[#394] fixes dependency on libzmq libraries
simplified logic according @tau-mask suggestion
This commit is contained in:
parent
89f4d1b187
commit
96ce61fab7
@ -21,7 +21,7 @@ if (NOT TARGET libzmq AND NOT TARGET libzmq-static)
|
|||||||
message(FATAL_ERROR "ZeroMQ was not found, neither as a CMake package nor via pkg-config")
|
message(FATAL_ERROR "ZeroMQ was not found, neither as a CMake package nor via pkg-config")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (ZeroMQ_FOUND AND (NOT TARGET libzmq OR NOT TARGET libzmq-static))
|
if (ZeroMQ_FOUND AND NOT (TARGET libzmq OR TARGET libzmq-static))
|
||||||
message(FATAL_ERROR "ZeroMQ version not supported!")
|
message(FATAL_ERROR "ZeroMQ version not supported!")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user