From 92a35581d7e1d0bedddb3c4170e98ff6c1610e60 Mon Sep 17 00:00:00 2001 From: Jesse Beder Date: Wed, 11 Jan 2012 13:19:31 -0600 Subject: [PATCH] Added boost find/includes to the new API CMake instructions --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 60f252f..16d2931 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,8 @@ if(YAML_CPP_BUILD_OLD_API) list(APPEND private_headers ${common_private_headers} ${old_api_private_headers}) add_definitions(-DYAML_CPP_OLD_API) else() + find_package(Boost REQUIRED) + include_directories(${Boost_INCLUDE_DIRS}) list(APPEND sources ${common_sources} ${new_api_sources}) list(APPEND public_headers ${common_public_headers} ${new_api_public_headers}) list(APPEND private_headers ${common_private_headers} ${new_api_private_headers})