diff options
author | 2014-04-17 21:01:45 +0200 | |
---|---|---|
committer | 2014-04-17 21:01:45 +0200 | |
commit | 9777a5ca60f0a82bb789f55912fd046ab7f3d15d (patch) | |
tree | 294378a09230f2abbf9f6da52234b9ce77c3005c /bench/btl/libs/blaze/CMakeLists.txt | |
parent | 9746396d1b8d039d3d0d6537ad477135e5e9d3f5 (diff) |
Various minor fixes in BTL
Diffstat (limited to 'bench/btl/libs/blaze/CMakeLists.txt')
-rw-r--r-- | bench/btl/libs/blaze/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bench/btl/libs/blaze/CMakeLists.txt b/bench/btl/libs/blaze/CMakeLists.txt index 54ab929d8..f8b1b2ec3 100644 --- a/bench/btl/libs/blaze/CMakeLists.txt +++ b/bench/btl/libs/blaze/CMakeLists.txt @@ -4,5 +4,7 @@ find_package(Boost) if (BLAZE_FOUND AND Boost_FOUND) include_directories(${BLAZE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS}) btl_add_bench(btl_blaze main.cpp) - target_link_libraries(btl_blaze ${Boost_LIBRARIES} ${Boost_system_LIBRARY} /opt/local/lib/libboost_system-mt.a ) -endif (BLAZE_FOUND) + if(BUILD_btl_blaze) + target_link_libraries(btl_blaze ${Boost_LIBRARIES} ${Boost_system_LIBRARY} /opt/local/lib/libboost_system-mt.a ) + endif() +endif () |