From 2cbbbe1e7206d453ea3626b11506370bfe1a4955 Mon Sep 17 00:00:00 2001 From: AI_WAIFU Date: Mon, 23 Jan 2023 16:01:30 +0000 Subject: [PATCH] add README note and fix FindZmqpp.cmake --- README.md | 3 +++ cmake/Modules/FindZmqpp.cmake | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 85872379a344..f84cf9cf1e59 100644 --- a/README.md +++ b/README.md @@ -172,6 +172,9 @@ For Alpine users (unsupported): sudo apk add build-base cmake libpng-dev jpeg-dev libxi-dev mesa-dev sqlite-dev libogg-dev libvorbis-dev openal-soft-dev curl-dev freetype-dev zlib-dev gmp-dev jsoncpp-dev luajit-dev zstd-dev + +Note that libzmqpp-dev or it's equivalent dependency may be unavailble, in that case libzmqpp needs to be compiled manually by initializing and building the submodule in lib/zmqpp. + #### Download You can install Git for easily keeping your copy up to date. diff --git a/cmake/Modules/FindZmqpp.cmake b/cmake/Modules/FindZmqpp.cmake index 24509e27b8ce..beea2c3e2ea8 100644 --- a/cmake/Modules/FindZmqpp.cmake +++ b/cmake/Modules/FindZmqpp.cmake @@ -32,9 +32,9 @@ if(NOT USE_SYSTEM_ZMQPP) message(${ZMQPP_LIBRARY}) if(ZMQPP_LIBRARY AND ZMQPP_INCLUDE_DIR) - message (STATUS "Using ZMQPP provided by the submodule.") + message(STATUS "Using ZMQPP provided by the submodule.") else() - message (STATUS "ZMQPP submodule detection failed, please navigate to lib/zmqpp, initialize the submodule with \"git submodule update --init\", and then use \"make\" to build zmqpp") + message(FATAL_ERROR "ZMQPP submodule detection failed, please navigate to lib/zmqpp, initialize the submodule with \"git submodule update --init\", and then use \"make\" to build zmqpp") endif() endif() include(FindPackageHandleStandardArgs)