Skip to content

Commit

Permalink
YAML CPP: Fix detection of yaml-cpp on macOS 10.13
Browse files Browse the repository at this point in the history
  • Loading branch information
sanssecours committed Oct 6, 2017
1 parent 64ec38d commit 3e2ce88
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/Modules/Findyaml-cpp.cmake
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/yamlcpp/CMakeLists.txt
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/yamlcpp/read.cpp
Expand Up @@ -7,7 +7,7 @@
*/

#include "read.hpp"
#include "yaml.h"
#include "yaml-cpp/yaml.h"

#include <kdb.hpp>
#include <kdbease.h>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/yamlcpp/write.cpp
Expand Up @@ -7,7 +7,7 @@
*/

#include "write.hpp"
#include "yaml.h"
#include "yaml-cpp/yaml.h"

#include <kdbease.h>
#include <kdblogger.h>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/yamlcpp/yamlcpp.cpp
Expand Up @@ -19,7 +19,7 @@ using namespace ckdb;
#include <kdberrors.h>
#include <kdblogger.h>

#include "yaml.h"
#include "yaml-cpp/yaml.h"

// -- Functions ----------------------------------------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 3e2ce88

Please sign in to comment.