Detect boost.
This commit is contained in:
1 parent
771746bd7e
commit
414caae4d3
2 files changed
+6
-1
No files matched your search
@@ -39,6 +39,11 @@ if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/gtest/CMakeLists.txt)
|
||||
endif ()
|
||||
|
||||
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)
|
||||
target_link_libraries(tinyformat_speed_test format)
|
||||
set_target_properties(tinyformat_speed_test
|
||||
|
||||
+1
-1
Submodule tinyformat updated: 2e4ba49f4f...01001483d6.
Reference in new issue
Block a user