mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Merge pull request #15155 from StormBytePP/6.x
Correctly displaying error message when libZMQ is not found Closes #15152
This commit is contained in:
@@ -72,7 +72,7 @@ find_library(ZMQ_LIBRARY
|
||||
"${ZMQ_ROOT_DIR}/lib"
|
||||
)
|
||||
|
||||
if (ZMQ_INCLUDE_DIR AND ZMQ_LIBRARY)
|
||||
if (ZMQ_INCLUDE_DIR AND ZMQ_LIBRARY AND NOT ZMQ_LIBRARY-NOTFOUND)
|
||||
set(ZMQ_FOUND 1)
|
||||
message(STATUS "Found ZMQ library: ${ZMQ_LIBRARY}")
|
||||
message(STATUS "Found ZMQ headers: ${ZMQ_INCLUDE_DIR}")
|
||||
|
||||
Reference in New Issue
Block a user