d99kris / nchat

Terminal-based Telegram / WhatsApp client for Linux and macOS
MIT License
619 stars 43 forks source link

MAGIC_LIBRARY used but not found #37

Closed sabrehagen closed 3 years ago

sabrehagen commented 3 years ago

When building the latest version, the following error is encountered:

-- Building dev application.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/tmp/nchat/lib/ncutil/MAGIC_INCLUDE_DIR
   used as include directory in directory /tmp/nchat/lib/ncutil
MAGIC_LIBRARY
    linked by target "ncutil" in directory /tmp/nchat/lib/ncutil
sabrehagen commented 3 years ago

Installing dependency libmagic-dev fixed the issue.