1 2find_package(Blitz) 3 4if (BLITZ_FOUND) 5 include_directories(${BLITZ_INCLUDES}) 6 7 btl_add_bench(btl_blitz btl_blitz.cpp) 8 if (BUILD_btl_blitz) 9 target_link_libraries(btl_blitz ${BLITZ_LIBRARIES}) 10 endif (BUILD_btl_blitz) 11 12 btl_add_bench(btl_tiny_blitz btl_tiny_blitz.cpp OFF) 13 if (BUILD_btl_tiny_blitz) 14 target_link_libraries(btl_tiny_blitz ${BLITZ_LIBRARIES}) 15 endif (BUILD_btl_tiny_blitz) 16 17endif (BLITZ_FOUND) 18