Skip to content

Commit

Permalink
add README note and fix FindZmqpp.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
AI_WAIFU committed Jan 23, 2023
1 parent e763851 commit 2cbbbe1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions cmake/Modules/FindZmqpp.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2cbbbe1

Please sign in to comment.