mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Check for boost.
This commit is contained in:
parent
c62c475291
commit
06dda99d7a
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user