Commit 414caae4 authored by Victor Zverovich's avatar Victor Zverovich

Detect boost.

parent 771746bd
...@@ -39,6 +39,11 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt) ...@@ -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
......
Subproject commit 2e4ba49f4f253de1dc1e30ca9b7a488bc8cbe0b2 Subproject commit 01001483d6804949c377f3793a9c814b57142c17
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment