Permalink
Browse files

YAML CPP: Fix detection of yaml-cpp on macOS 10.13

  • Loading branch information...
sanssecours committed Sep 27, 2017
1 parent 64ec38d commit 3e2ce8845bef72c6f7f285f63ebb523488746a47
@@ -14,7 +14,7 @@ find_package(PkgConfig)
pkg_check_modules(PC_YAML-CPP QUIET yaml-cpp)
find_path(YAML-CPP_INCLUDE_DIR
yaml.h
NAMES yaml-cpp/yaml.h
HINTS ${PC_YAML-CPP_INCLUDEDIR} ${PC_YAML-CPP_INCLUDE_DIRS}
PATH_SUFFIXES yaml-cpp)
@@ -19,7 +19,7 @@ add_plugin (yamlcpp
read.hpp read.cpp
write.hpp write.cpp
INCLUDE_DIRECTORIES
${YAML-CPP_INCLUDE_DIR}
${YAML-CPP_INCLUDE_DIR} ${Boost_INCLUDE_DIR}
LINK_LIBRARIES
${YAML-CPP_LIBRARIES}
LINK_ELEKTRA
@@ -7,7 +7,7 @@
*/
#include "read.hpp"
#include "yaml.h"
#include "yaml-cpp/yaml.h"
#include <kdb.hpp>
#include <kdbease.h>
@@ -7,7 +7,7 @@
*/
#include "write.hpp"
#include "yaml.h"
#include "yaml-cpp/yaml.h"
#include <kdbease.h>
#include <kdblogger.h>
@@ -19,7 +19,7 @@ using namespace ckdb;
#include <kdberrors.h>
#include <kdblogger.h>
#include "yaml.h"
#include "yaml-cpp/yaml.h"
// -- Functions ----------------------------------------------------------------------------------------------------------------------------

0 comments on commit 3e2ce88

Please sign in to comment.