etaler / Etaler

A flexable HTM (Hierarchical Temporal Memory) framework with full GPU support.
BSD 3-Clause "New" or "Revised" License
89 stars 14 forks source link

Does not build without TBBConfig #27

Closed marty1885 closed 5 years ago

marty1885 commented 5 years ago

17 introduces a better way to link to TBB. Unfortunately when merging, I didn't check that the code path using FindTBB works. So now if both TBBCondig and FindTBB does not exist. The following occurs (Since find_package can't find the requested package). And thus the fallback path of letting the linker solve the problem itself can't be invoked.

CMake Warning at CMakeLists.txt:59 (find_package):
  By not providing "FindTBB.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "TBB", but
  CMake did not find one.

  Could not find a package configuration file provided by "TBB" with any of
  the following names:

    TBBConfig.cmake
    tbb-config.cmake

I'm working on a fix.