Commits

FlorianGeorge committed f55d397

Fixed linking to boost from the blaze benchmark under MSVC

  • Participants
  • Parent commits 0de55d9
  • Branches blaze_msvc_linker_fix

Comments (0)

Files changed (1)

File bench/btl/libs/blaze/CMakeLists.txt

 if (BLAZE_FOUND AND Boost_FOUND)
   include_directories(${BLAZE_INCLUDE_DIR} ${Boost_INCLUDE_DIRS})
   btl_add_bench(btl_blaze main.cpp)
-  if(BUILD_btl_blaze)
+  if(BUILD_btl_blaze AND NOT MSVC)
     target_link_libraries(btl_blaze ${Boost_LIBRARIES} ${Boost_system_LIBRARY} /opt/local/lib/libboost_system-mt.a )
   endif()
 endif ()