Detect boost.

This commit is contained in:
Victor Zverovich 2012-12-12 11:32:01 -08:00
parent 771746bd7e
commit 414caae4d3
2 changed files with 6 additions and 1 deletions

View File

@ -39,6 +39,11 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
endif () endif ()
if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp) if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/tinyformat/tinyformat_test.cpp)
find_package(Boost)
if (Boost_FOUND)
add_definitions(-DHAVE_BOOST)
endif ()
add_executable(tinyformat_speed_test tinyformat/tinyformat_test.cpp) add_executable(tinyformat_speed_test tinyformat/tinyformat_test.cpp)
target_link_libraries(tinyformat_speed_test format) target_link_libraries(tinyformat_speed_test format)
set_target_properties(tinyformat_speed_test set_target_properties(tinyformat_speed_test

@ -1 +1 @@
Subproject commit 2e4ba49f4f253de1dc1e30ca9b7a488bc8cbe0b2 Subproject commit 01001483d6804949c377f3793a9c814b57142c17