mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-06-26 14:34:04 +02:00
Merge pull request #395 from franzhollerer/Issue_#394_fix_cmake_library_dependency
[#394] fixes dependency on libzmq libraries
This commit is contained in:
commit
4ceb2c8722
@ -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…
x
Reference in New Issue
Block a user