blob: 3a36af6854d07318b9a0ca52c01de8bb67d70ae8 [file]
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: See the NOTICE file distributed with this work for additional information regarding copyright ownership
# SPDX-FileContributor: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements
if(MINIFI_YAMLCPP_SOURCE STREQUAL "CONAN")
message("Using Conan to install yaml-cpp")
find_package(yaml-cpp REQUIRED)
elseif(MINIFI_YAMLCPP_SOURCE STREQUAL "BUILD")
message("Using CMake to build yaml-cpp from source")
include(YamlCpp)
endif()