Skip to content

Commit 96ce61f

Browse files
committed
[#394] fixes dependency on libzmq libraries
simplified logic according @tau-mask suggestion
1 parent 89f4d1b commit 96ce61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (NOT TARGET libzmq AND NOT TARGET libzmq-static)
2121
message(FATAL_ERROR "ZeroMQ was not found, neither as a CMake package nor via pkg-config")
2222
endif()
2323

24-
if (ZeroMQ_FOUND AND (NOT TARGET libzmq OR NOT TARGET libzmq-static))
24+
if (ZeroMQ_FOUND AND NOT (TARGET libzmq OR TARGET libzmq-static))
2525
message(FATAL_ERROR "ZeroMQ version not supported!")
2626
endif()
2727
endif()

0 commit comments

Comments
 (0)