Check for boost.

This commit is contained in:
Victor Zverovich 2013-09-08 14:39:34 -07:00
parent c62c475291
commit 06dda99d7a

View File

@ -46,6 +46,10 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
add_test(format_test format_test) add_test(format_test format_test)
endif () endif ()
find_package(Boost)
if (Boost_FOUND)
add_definitions(-DHAVE_BOOST)
endif ()
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/format-benchmark/tinyformat_test.cpp) if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/format-benchmark/tinyformat_test.cpp)
add_subdirectory(format-benchmark) add_subdirectory(format-benchmark)