Skip to content

Commit

Permalink
Merge pull request zeromq#395 from franzhollerer/Issue_#394_fix_cmake…
Browse files Browse the repository at this point in the history
…_library_dependency

[zeromq#394] fixes dependency on libzmq libraries
  • Loading branch information
sigiesec authored Sep 4, 2020
2 parents 89f4d1b + 96ce61f commit 4ceb2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
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!")
endif()
endif()
Expand Down

0 comments on commit 4ceb2c8

Please sign in to comment.