commit | e05448ad09c0bbf8aa61c339be84a378317e2163 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Wed Jun 13 15:54:33 2018 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Jun 14 09:56:08 2018 +0200 |
tree | 44bcb9f90a1c87070450d52f0887f44784845b54 | |
parent | ebca255492663443b0a027b5617d19343a615f7c [diff] [blame] |
Build with libyang Change-Id: Ib2f0b94c7782b9ab4b52fdc46376e1339ed456c8
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4ec7140..1ba791a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -51,6 +51,9 @@ find_package(spdlog REQUIRED) find_package(Boost REQUIRED) +find_package(PkgConfig) +pkg_check_modules(LIBYANG REQUIRED libyang-cpp>=0.15.111) + # we don't need filename tracking, and we prefer to use header-only Boost add_definitions(-DBOOST_SPIRIT_X3_NO_FILESYSTEM)