CMakeLists.txt 475 B

12345678910111213
  1. find_package(BLAZE)
  2. find_package(Boost COMPONENTS system)
  3. if (BLAZE_FOUND AND Boost_FOUND)
  4. include_directories(${BLAZE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
  5. btl_add_bench(btl_blaze main.cpp)
  6. # Note: The newest blaze version requires C++14.
  7. # Ideally, we should set this depending on the version of Blaze we found
  8. set_property(TARGET btl_blaze PROPERTY CXX_STANDARD 14)
  9. if(BUILD_btl_blaze)
  10. target_link_libraries(btl_blaze ${Boost_LIBRARIES})
  11. endif()
  12. endif ()