Skip to content
Snippets Groups Projects
Commit 05eb28dd authored by Amna Snene's avatar Amna Snene
Browse files

build: Find yaml-cpp only if building tools

Change-Id: I4c0d5cd67ea41f3285ccc1e203942222c1cf15fd
parent 4e52b163
Branches
Tags
No related merge requests found
......@@ -51,7 +51,11 @@ if (NOT MSVC)
set(MSGPACK_TARGET "msgpackc-cxx")
endif()
endif()
if (BUILD_TOOLS)
find_package(yaml-cpp REQUIRED)
endif()
include_directories(${YAML_CPP_INCLUDE_DIR})
find_package(fmt)
pkg_search_module (opendht REQUIRED IMPORTED_TARGET opendht)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment