      test_randof
      czmq-static
 -    ${LIBZMQ_LIBRARIES}
-+    ${ZEROMQ_LIBRARIES}
++    ${ZeroMQ_LIBRARIES}
      ${OPTIONAL_LIBRARIES}
  )
  endif()

     czmq_selftest
     czmq
-    ${LIBZMQ_LIBRARIES}
+    ${ZEROMQ_LIBRARIES}
     ${OPTIONAL_LIBRARIES}
 )
 endif()

--- /root/czmq-4.1.1/CMakeLists.txt	2018-03-22 22:18:37.000000000 +0000
+++ /root/czmq-4.1.1/CMakeLists_new.txt	2018-06-14 21:46:24.600814713 +0000
@@ -114,16 +114,16 @@
 set(OPTIONAL_LIBRARIES)
 
 ########################################################################
-# LIBZMQ dependency
+# ZeroMQ dependency
 ########################################################################
-find_package(libzmq REQUIRED)
-IF (LIBZMQ_FOUND)
-    include_directories(${LIBZMQ_INCLUDE_DIRS})
-    list(APPEND MORE_LIBRARIES ${LIBZMQ_LIBRARIES})
+find_package(ZeroMQ REQUIRED)
+IF (ZeroMQ_FOUND)
+    include_directories(${ZeroMQ_INCLUDE_DIRS})
+    list(APPEND MORE_LIBRARIES ${ZeroMQ_LIBRARIES})
     set(pkg_config_libs_private "${pkg_config_libs_private} -lzmq")
-ELSE (LIBZMQ_FOUND)
-    message( FATAL_ERROR "libzmq not found." )
-ENDIF (LIBZMQ_FOUND)
+ELSE (ZeroMQ_FOUND)
+    message( FATAL_ERROR "ZeroMQ not found." )
+ENDIF (ZeroMQ_FOUND)
 
 ########################################################################
 # UUID dependency
@@ -322,7 +322,7 @@
   )
 
   target_link_libraries(czmq
-    ${ZEROMQ_LIBRARIES} ${MORE_LIBRARIES}
+    ${ZeroMQ_LIBRARIES} ${MORE_LIBRARIES}
   )
 
   install(TARGETS czmq
@@ -352,7 +352,7 @@
   )
 
   target_link_libraries(czmq-static
-    ${ZEROMQ_LIBRARIES} ${MORE_LIBRARIES}
+    ${ZeroMQ_LIBRARIES} ${MORE_LIBRARIES}
   )
 
   install(TARGETS czmq-static
@@ -407,7 +407,7 @@
 target_link_libraries(
     zmakecert
     czmq
-    ${LIBZMQ_LIBRARIES}
+    ${ZeroMQ_LIBRARIES}
     ${OPTIONAL_LIBRARIES}
 )
 endif()
