Figuring out OSX TBB location.

This commit is contained in:
Tadas Baltrusaitis
2018-06-26 16:07:39 +02:00
parent 5a3cf77863
commit 0f5c4a4184
2 changed files with 5 additions and 1 deletions

View File

@@ -83,6 +83,8 @@ before_install:
script:
- $CXX --version
- ls /usr/local/Cellar/tbb/2018_U5
- ls /usr/local/Cellar/tbb
- cd lib/local/LandmarkDetector/model/patch_experts
- wget https://www.dropbox.com/s/7na5qsjzz8yfoer/cen_patches_0.25_of.dat?dl=1
- wget https://www.dropbox.com/s/k7bj804cyiu474t/cen_patches_0.35_of.dat?dl=1

View File

@@ -147,7 +147,9 @@ if(NOT TBB_FOUND)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
# OS X
set(TBB_DEFAULT_SEARCH_DIR "/opt/intel/tbb")
set(TBB_DEFAULT_SEARCH_DIR
"/opt/intel/tbb"
"/usr/local/Cellar/tbb/")
# TODO: Check to see which C++ library is being used by the compiler.
if(NOT ${CMAKE_SYSTEM_VERSION} VERSION_LESS 13.0)