When I try to use TBB with my CMake project like this:
list(APPEND CMAKE_MODULE_PATH "<path to FindTBB module>")
find_package(TBB REQUIRED)
add_executable(myapp myapp.cc)
target_link_libraries(myapp tbb)
It in the end tries to link tbb-NOTFOUND.obj (which of course fails).
When I try to use TBB with my CMake project like this:
It in the end tries to link
tbb-NOTFOUND.obj(which of course fails).