Skip to content

Commit 4ceb2c8

Browse files
authored
Merge pull request #395 from franzhollerer/Issue_#394_fix_cmake_library_dependency
[#394] fixes dependency on libzmq libraries
2 parents 89f4d1b + 96ce61f commit 4ceb2c8

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)