2014-03-31 16:59:55 +08:00
|
|
|
|
|
|
|
|
find_package(BLAZE)
|
2016-09-22 06:10:47 +08:00
|
|
|
find_package(Boost COMPONENTS system)
|
2014-03-31 16:59:55 +08:00
|
|
|
if (BLAZE_FOUND AND Boost_FOUND)
|
|
|
|
|
include_directories(${BLAZE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
|
|
|
|
|
btl_add_bench(btl_blaze main.cpp)
|
2016-09-22 06:10:47 +08:00
|
|
|
# Note: The newest blaze version requires C++14.
|
|
|
|
|
# Ideally, we should set this depending on the version of Blaze we found
|
|
|
|
|
set_property(TARGET btl_blaze PROPERTY CXX_STANDARD 14)
|
2014-04-18 03:01:45 +08:00
|
|
|
if(BUILD_btl_blaze)
|
2016-09-22 06:10:47 +08:00
|
|
|
target_link_libraries(btl_blaze ${Boost_LIBRARIES})
|
2014-04-18 03:01:45 +08:00
|
|
|
endif()
|
|
|
|
|
endif ()
|