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

--- CMakeLists.txt	2018-03-22 22:18:37.000000000 +0000
+++ CMakeLists_new.txt	2018-06-14 21:32:13.498318837 +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
@@ -407,7 +407,7 @@
 target_link_libraries(
     zmakecert
     czmq
-    ${LIBZMQ_LIBRARIES}
+    ${ZEROMQ_LIBRARIES}
     ${OPTIONAL_LIBRARIES}
 )
 endif()

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